vue-loader was used without the corresponding plugin. Make sure to include VueLoaderPlugin in your webpack config.
vue-loader缺少corresponding plugin。(插件)
这是由于此处使用vue-loader15.4.2版本
"vue-loader": "^15.4.2",
在vue-loader^14.0.0版本以后要使用vue-loader需要另外配置插件
所以该问题在webpack.config.js中修改vue-loader的版本为^14以前
"vue-loader": "^13.0.0",
然后终端重新执行npm install
npm install
再重新打包即可
npm run build