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
Gerelateerde topics
| Topic | Antwoorden | Weergaven | Activiteit | |
|---|---|---|---|---|
| Adding external JS lib globally to all Plugins and Theme (Components) | 2 | 760 | 1 april 2020 | |
| Existing JS module import into ES6 plugin | 3 | 1743 | 25 november 2016 | |
| Plugin JavaScript wasn't loaded | 0 | 717 | 1 september 2017 | |
| Loading js libraries via register_asset | 9 | 1144 | 3 juli 2020 | |
| Javascript assets in a theme component | 15 | 2203 | 7 mei 2021 |