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 | 772 | 1 april 2020 | |
| Existing JS module import into ES6 plugin | 3 | 1756 | 25 november 2016 | |
| Plugin JavaScript wasn't loaded | 0 | 719 | 1 september 2017 | |
| Loading js libraries via register_asset | 8 | 1155 | 2 juli 2020 | |
| Javascript assets in a theme component | 15 | 2250 | 7 mei 2021 |