Include others css and js #5295
Answered
by
jasonvarga
HazemMohamed252
asked this question in
Q&A
-
I have a template with it's css and js files and i put it on public folder and i want to use it into my header for my site, when i include it using asset {{ }} it is unknown. How can i do that ? It is neccessary |
Beta Was this translation helpful? Give feedback.
Answered by
jasonvarga
Feb 16, 2022
Replies: 1 comment
-
Just use the URL. No need for Statamic specific stuff. <script src="/js/script.js"> <!-- public/js/script.js --> |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
HazemMohamed252
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just use the URL. No need for Statamic specific stuff.