Answers for "jquery is not defined rails"

0

jquery is not defined rails

//Try adding this to your config/webpack/environment.js
const webpack = require('webpack')
environment.plugins.prepend('Provide',
    new webpack.ProvidePlugin({
        $: 'jquery/src/jquery',
        jQuery: 'jquery/src/jquery'
    })
)
Posted by: Guest on June-05-2020

Code answers related to "jquery is not defined rails"

Code answers related to "Javascript"

Browse Popular Code Answers by Language