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.
الموضوعات ذات الصلة
الموضوع | الردود | مرات العرض | النشاط | |
---|---|---|---|---|
Defer loading JavaScript in Themes and Components | 4 | 1944 | 7 أبريل 2022 | |
Javascript assets in a theme component | 15 | 2033 | 7 مايو 2021 | |
Developing Discourse Themes & Theme Components | 15 | 104927 | 18 مارس 2025 | |
Discourse-webpack: A boilerplate for developing JS-heavy Discourse components | 3 | 1881 | 13 يناير 2022 | |
Beginner's guide to using Discourse Themes | 11 | 80019 | 26 مارس 2025 |