Vue中引入jQuery问题 :Bootstrap's JavaScript requires jQuery
最近在学习Vue.js,Vue中引入jQuery有2种方式,一种是在index.html中引入node_modules中的jquery插件包里的jquery.js.另一种方式是在main.js中引入,网上很多介绍方法都是在webpack.config.js中的module.exports最后加 new webpack.optimize.CommonsChunkPlugin('common.js')...
原创
2018-05-17 22:20:38 ·
7063 阅读 ·
0 评论