1、安装node.js; 2、安装vue-cli脚手架构建工具,输入命令 npm install -g @vue/cli; 3、创建项目:vue create +项目名称; 4、进入到项目的文件夹下,运行项目,指令yarn serve;