Getting file path in script.js #126
luuktimmermans
started this conversation in
General
Replies: 1 comment 4 replies
-
Hi Luuk—Thanks for posting this! What kind of file are you trying to access, and in what context? (E.g., are you trying to import a JavaScript file, or load a JSON file, or something else entirely? When are you trying to load it? Etc.) I'm going to convert this to a discussion in the meantime. (And sorry for the delay in responding—I was off last week!) |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm trying to get a file from my theme folder in the script.js. This works with the css files, but it doesn't with the javascript file. How would I do this?
Best regards,
Luuk
Beta Was this translation helpful? Give feedback.
All reactions