vue create is a Vue CLI 3 only command and you are using Vue CLI 2.9.6. You may want to run the fo
最近使用vue框架发现出现如下问题vue create is a Vue CLI 3 only command and you are using Vue CLI 2.9.6.You may want to run the following to upgrade to Vue CLI 3:这是应为vue的版本存在更新,需要先卸载vue cli2,然后重新安装vue cli 31、首先我们需要卸载
·
最近使用vue框架发现出现如下问题
vue create is a Vue CLI 3 only command and you are using Vue CLI 2.9.6.You may want to run the following to upgrade to Vue CLI 3:
这是应为vue的版本存在更新,需要先卸载vue cli2,然后重新安装vue cli 3
1、首先我们需要卸载旧版本的vue cli:
npm uninstall vue-cli -g 或 yarn global remove vue-cli
2、然后重新安装vue cli
npm install -g @vue/cli
更多推荐
已为社区贡献3条内容
所有评论(0)