报错:vue-loader was used without the corresponding plugin.

安装了vue-loader和vue-template-compiler后使用.vue文件引入组件却报错

报错:vue-loader was used without the corresponding plugin._第1张图片解决方法:从vue-loader@15.版本后安装包之后,还需在配置文件中写如下几句话
报错:vue-loader was used without the corresponding plugin._第2张图片
就可以了

你可能感兴趣的:(vue)