I\'m trying to install jQuery in Rails 6.0.0.rc1 via Webpack and I\'m not sure what I\'m missing but I\'m getting the error $ is not defined in the browser console
$ is not defined
I've got what's missing.
In app/javascript/packs/application.js forgot to declare:
app/javascript/packs/application.js
window.jQuery = $; window.$ = $;
So jQuery keywords could be picked up.