1.下载安装vue npm install -g vue-cli 2.初始化创建项目 vue init webpack my-project 3.进入项目 cd my-project 4.下载依赖 npm install 5.启动项目 npm run dev