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() ]

posted @ 2018-06-13 15:15  adolfvicto  阅读(297)  评论(0编辑  收藏  举报