I asked a similar question a few days ago (Existing JS module import into ES6 plugin). The problem I have is, that I want it included server side and I have no idea on which path I should require it in ES6 modules.
ntadej
(Tadej Novak)
5
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Adding external JS lib globally to all Plugins and Theme (Components) | 2 | 760 | April 1, 2020 | |
| Existing JS module import into ES6 plugin | 3 | 1743 | November 25, 2016 | |
| Plugin JavaScript wasn't loaded | 0 | 717 | September 1, 2017 | |
| Loading js libraries via register_asset | 9 | 1144 | July 3, 2020 | |
| Javascript assets in a theme component | 15 | 2182 | May 7, 2021 |