I do not know how to do it and I already followed several explanations that I found on the web and none of them work for me. I'm using vue-cli
that works with webpack
.
try this:
plugins:[
new webpack.ProvidePlugin({
jQuery: 'jquery',
$: 'jquery',
jquery: 'jquery'
})
]'
Try the import $ from 'jquery'
I got that error.