下载Vue脚手架,vue-cli
cnpm install vue-cli -g
创建一个项目 ``` vue init webpack ”security“
? Project name security
? Project description security’s web project
? Author acompe
? Vue build standalone
? Install vue-router? No
? Use ESLint to lint your code? No
? Set up unit tests No
? Setup e2e tests with Nightwatch? No
? Should we run npm install
for you after the project has been created? (recommended) npm
3. 安装相关资源
```bash
cnpm install