使用vue create创建项目时报错

191 阅读1分钟

Error:
Vue packages version mismatch:
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

vue版本需要更新

执行命令:

npm update vue -S

npm update vue-template-compiler -D