You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my case, adding a path entry in requirejs.config fixed.
TLDR: Don't include text.js script tag anywhere else. Either you use optimizer to bundle both requirejs & plugin, or load the plugins via requirejs itself.
requirejs.config({paths: {// text: './vendor/text', // <----- from local copy, ortext: 'https://cdn.jsdelivr.net/npm/[email protected]/text.min'// <----- from any CDN (mind the missing `.js` extension)}});
Is there any documentation about how to load the plugin from a CDN?
I am trying this
and in the console I am getting this error
Error: Mismatched anonymous define() module: function (module) {...
It is hard to find how to load the plugins, it will be nice if
requirejs
can add them in the.config
Thanks for the help
The text was updated successfully, but these errors were encountered: