You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I find that the documentation doesn't really explain clearly how to implement jQuery into this theme as a dependency. I must be doing something wrong because it's not being included in the build JS folder.
I managed to enqueue jQuery in the functions.php file but your documentation says differently. It says to include it somehow in the gulp/config/scripts.js file, but the explanation isn't very clear.
I am also trying to add my own scripts, such as smoothState.js and that isn't being added to the JS folder either, or it throws an error thanks to eslint...
What am I doing wrong? How do I get my own scripts or import other scripts into this theme?
The text was updated successfully, but these errors were encountered:
I find that the documentation doesn't really explain clearly how to implement jQuery into this theme as a dependency. I must be doing something wrong because it's not being included in the build JS folder.
I managed to enqueue jQuery in the functions.php file but your documentation says differently. It says to include it somehow in the gulp/config/scripts.js file, but the explanation isn't very clear.
I am also trying to add my own scripts, such as smoothState.js and that isn't being added to the JS folder either, or it throws an error thanks to eslint...
What am I doing wrong? How do I get my own scripts or import other scripts into this theme?
The text was updated successfully, but these errors were encountered: