Ive installed a clean version of 6.4.1 through the CLI.
On previous versions I would add a js file into the js folder and it would be compiled into app.js file, just as the foundation docs outline.
I'm unfamiliar with webpack, but briefly looking I can add the file through "import './file-name.js'; within the app.js file.
But I am getting error.
How do I add a js file to 6.4.1?
Uncaught ReferenceError: jQuery is not defined at Object.<anonymous> (app.js:22225) at __webpack_require__ (app.js:20) at Object.defineProperty.value (app.js:14483) at __webpack_require__ (app.js:20) at Object.<anonymous> (app.js:22363) at __webpack_require__ (app.js:20) at _typeof (app.js:66) at app.js:69 (anonymous) @ app.js:22225 __webpack_require__ @ app.js:20 Object.defineProperty.value @ app.js:14483 __webpack_require__ @ app.js:20 (anonymous) @ app.js:22363 __webpack_require__ @ app.js:20 _typeof @ app.js:66 (anonymous) @ app.js:69