vue create is a Vue CLI 3 only command and you are using Vue CLI 2.9.6. You

 

 

这是因为你安装的是2.9的版本用了3.0的命令

解决方法:1.用2.9的命令初始化项目 vue init webpack my-project

             2.卸载2.9升级到3.0

vue create is a Vue CLI 3 only command and you are using Vue CLI 2.9.6. You

 

相关文章: