When you create a custom themes and all your javascript not work on front page, even toolbar module not working, but the toolbar run normally on admin page, you have same problem with me. Follow this instructuon :
Check your libraries file (yourtheme.libraries.yml) make sure you have only one jquery refference. Example :
global-styles:
version: 1.x
css:
theme:
css/styles.css: {}
version: 1.x
css:
theme:
css/styles.css: {}
global-scripts:
version: 1.x
js:
js/scripts.js: {}
js/responsiveTabs.js: {}
js/ jquery <- comment or delete this
dependencies:
- core/jquery
version: 1.x
js:
js/scripts.js: {}
js/responsiveTabs.js: {}
js/ jquery <- comment or delete this
dependencies:
- core/jquery
2 komentar:
Tak ado translate nyo man
Bisa otomatis pakai google translate 🤭
Posting Komentar