Installation and usage of ES module without bundlers #9588
o-alquimista
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The documentation is missing these instructions, but hopefully this will help others:
chart.esm.js
module and thechunks/
directory, then organize them like this in a directory I'm namingchartjs/
:Without the
chunks/
directory, the import will fail. That's the non-obvious thing here.Ideally, this should be added to the documentation.
Beta Was this translation helpful? Give feedback.
All reactions