Discourse Meta
Add javascript to a theme component
Development
fzngagan
(Faizaan Gagan)
June 17, 2020, 4:08pm
5
Check
loadScript
in the codebase/meta for a systematic way to achieve this.
show post in topic
Related topics
Topic
Replies
Views
Activity
Custom JS script in theme component not loading
Product Support
1
688
December 10, 2020
Adding JavaScript to a theme in /head not working (UserWay)
Product Support
2
1509
April 29, 2020
Using scripts in the topic
Development
6
677
February 9, 2024
Javascript not working in customised areas
Product Support
8
1200
May 14, 2019
Defer loading JavaScript in Themes and Components
Development
dev-news
4
2173
April 7, 2022