1.使用cmdvue_cli:npm stall -g @vue_cli时报错如图
解决办法:可能是没有安装node.js造成的
Node.js 中文网 (nodejs.cn) 进入官网进行安装
2.创建项目,vue creat xxx(同样是终端命令
3.安装过程中会选择脚手架适配的你已经安装的vue版本
选择正确的vue版本,同时在弹出的镜像选择是选择YES
4.运行你在第二步创建的根目录下的index.html,打开vscode终端(ctrl+`(esc键下面的那个))后:npm run serve
如下是我遇到的问题:亲测有效
Error:You may need an additional loader to handle the result of these loaders.
如遇这个问题,跳转到这个博客