[Vuejs]-How to import bootstrap.bundle.min.js in vue project with webpack

0👍

The way that you are using webpack.ProvidePlugin in your plugins array is called Shimming. Here is the doc. I think it’s a bad practice to use such a technique when you have a powerful tool like Webpack. You don’t have the $ available because you need to import it like this: import $ from 'jquery'. So make sure you have installed all your dependencies and import them in your modules.

I hope it’ll help. If not just reply here and we will talk more. good luck!

Leave a comment