Loading using Require.js (AMD) broken
See original GitHub issueCodepen
Just open this codepen and check the dev-console (F12):
Explanation
I think that SVG is not defined
because there is something wrong on module bundler.
Do i need to include SVG.js as external library?
Issue Analytics
- State:
- Created 5 years ago
- Comments:23 (9 by maintainers)
Top Results From Across the Web
Is it wrong to use requirejs (AMD) in a synchronous way?
Short answer: yes, it is wrong. You use require.js to first load all your dependencies, and then once all of them are loaded, ......
Read more >Common Errors - RequireJS
This fails because requirejs needs to be sure to load and execute all dependencies before calling the factory function above. If a dependency...
Read more >Moodle in English: Issue loading external script with requirejs
Hey guys,. I am running Moodle 3.6.3 and really struggling with trying to add an external javascript link to my site.
Read more >Why is js breaking with requirejs in templates on Magento 2 ...
app/design/frontend/Smartwave/porto_child and put in the following: ... Because of which, when JS files that require JQuery are loaded, ...
Read more >Writing Modular JavaScript With AMD, CommonJS & ES ...
There are a number of great loaders for handling module loading in the AMD and CJS formats, but my personal preferences are RequireJS...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I stumbled across the same issue, here’s my workaround:
Hope this helps!
Is this issue fixed ? I am also facing this issue when I am trying to use ApexCharts from Jupyter.
Thanks