异常处理:
{ parser: “babylon” } is deprecated; we now treat it as { parser: “babel” }.
找到你的工程文件夹里的 YourProName\node_modules\vue-loader\lib\template-compiler\index.js
// prettify render fn
if (!isProduction) {
code = prettier.format(code, { semi: false, parser: ‘babylon’ })
}
修改为
// prettify render fn
if (!isProduction) {
code = prettier.format(code, { semi: false, parser: ‘babel’ })
}
vue build报copy-webpack-plugin] unable to locate异常的解决方法
缺失的路径手动增加上
/Users/WebstormProjects/learnvue/learnvuerouter/static/