Uncaught Error: If you load both jquery_ujs and rails-ujs, use rails-ujs only.
I have a rails 6.1 application that uses jquery. Here is how I'm importing it in my config/webpack/environments.js file:
$: 'jquery/src/jquery',
jQuery: 'jquery/src/jquery',
jquery: 'j...
Tripscape
posted