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?
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?