关于webpack配置问题
当你运行webpack4.0以上的版本时,按视频里配置文件,你会发现:
ERROR in ./src/app.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):
vue-loader was used without the corresponding plugin. Make sure to include VueLoaderPlugin in your webpack config.
说缺少VueLoaderPlugin。
如果遇到问题的童鞋,可以参照一下网址:
https://blog.csdn.net/sunhaobo1996/article/details/80431737
https://github.com/vuejs/vue-loader/issues/1238