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
相关话题
| 话题 | 回复 | 浏览量 | 活动 | |
|---|---|---|---|---|
| Adding external JS lib globally to all Plugins and Theme (Components) | 2 | 762 | 2020 年4 月 1 日 | |
| Existing JS module import into ES6 plugin | 3 | 1744 | 2016 年11 月 25 日 | |
| Plugin JavaScript wasn't loaded | 0 | 717 | 2017 年9 月 1 日 | |
| Loading js libraries via register_asset | 9 | 1145 | 2020 年7 月 3 日 | |
| Javascript assets in a theme component | 15 | 2209 | 2021 年5 月 7 日 |