Add JS-File to React Pluggable Web Widgets

0
Hello everyone,   I try to build a pluggable web widget. According to the tutorial this should be done with React. To add a behavior to the widget I need to add several JS-files. These files should be only loaded to the browser, so they should be used inside React. Now I found only one possibility to do this, but the final widget will be not pluggable (https://docs.mendix.com/howto/extensibility/best-practices-javascript-actions#2-2-6-using-external-dependencies-in-the-browser) How can I add external JS-files to the widget?
asked
1 answers
6

You have to add your js using NPM

answered