jquery is not defined rails

Solutions on MaxInterview for jquery is not defined rails by the best coders in the world

showing results for - "jquery is not defined rails"
Forest
23 Nov 2016
1//Try adding this to your config/webpack/environment.js
2const webpack = require('webpack')
3environment.plugins.prepend('Provide',
4    new webpack.ProvidePlugin({
5        $: 'jquery/src/jquery',
6        jQuery: 'jquery/src/jquery'
7    })
8)