卸载以前的旧版本:npm uninstall vue-cli -g安装新版本脚手架:npm instatll -g @vue/cli创建项目:vue create app 最后一步 然后外面cd进入我们的项目 npm run serve 就可以运行起来了