webpack vue-loader was used without the corresponding plugin. Make sure to include VueLoaderPlugin
在webpack.config.js中加入
const VueLoaderPlugin = require('vue-loader/lib/plugin');
plugins: [ new VueLoaderPlugin() ]
在webpack.config.js中加入
const VueLoaderPlugin = require('vue-loader/lib/plugin');
plugins: [ new VueLoaderPlugin() ]