Yes, your understanding is correct. When you install and configure a theme or theme component on the server, its JS and CSS assets are compiled and optimised as part of the forum’s overall asset pipeline.
HAWK
(Hawk)
3
Gerelateerde topics
| Topic | Antwoorden | Weergaven | Activiteit | |
|---|---|---|---|---|
| Defer loading JavaScript in Themes and Components | 4 | 2008 | 7 april 2022 | |
| Javascript assets in a theme component | 15 | 2261 | 7 mei 2021 | |
| Developing Discourse Themes & Theme Components | 14 | 107658 | 18 maart 2025 | |
| Discourse-webpack: A boilerplate for developing JS-heavy Discourse components | 1 | 1936 | 3 juni 2019 | |
| Issues on loading a js asset from a Theme Component | 18 | 949 | 28 september 2023 |