2017年3月5日

webpack 引用 jquery + bootstrap 报错解决

摘要: webpack 引用 jquery + bootstrap , error : jQuery is not defind 或者 $ is not defined 使用webpack中的plugins中使用ProvidePlugin这个插件进行全局变量注册 webpack 引用 jquery + bo 阅读全文

posted @ 2017-03-05 17:48 vok_think 阅读(2760) 评论(2) 推荐(0) 编辑

webpack 引用 jquery + bootstrap报错

摘要: webpack 引用 jquery + bootstrap , error : jQuery is not defind 在webpack.dev.conf.js plugins[] 加入 new webpack.ProvidePlugin({ $: "jquery", jQuery: "jquer 阅读全文

posted @ 2017-03-05 17:42 vok_think 阅读(98) 评论(0) 推荐(0) 编辑

导航