vue-loader was used without the corresponding plugin. Make sure to include VueLoaderPlugin in your webpack config.
参考官方文档 https://vue-loader.vuejs.org/migrating.html#a-plugin-is-now-required
. Vue-loader在15.*之后的版本都是 vue-loader的使用都是需要伴生 VueLoaderPlugin的,
module.exports = {
plugins: [
// make sure to include the plugin for the magic
new VueLoaderPlugin()
],
}