程序员入侵
2018-08-01 17:04



求解,为什么
Error: spawn webpack-dev-server ENOENT
const VueLoaderPlugin = require('vue-loader/lib/plugin')
module.exports = {
// ...
plugins: [
new VueLoaderPlugin()
]
}前面格式不好看
同样错误已解决,官网上找到的解决方案:
Vue Loader v15 now requires an accompanying webpack plugin to function properly:
// webpack.config.jsconst VueLoaderPlugin = require('vue-loader/lib/plugin')module.exports = {
// ...
plugins: [
new VueLoaderPlugin()
]}Vue+Webpack打造todo应用
84616 学习 · 812 问题
相似问题