1、安装vue
npm install vue
2、使用命令行工具创建vue项目
vue create '项目名'
使用vue-cli创建的vue项目目录
vue init webpack '项目名'
使用vue-cli初始化的webpack项目目录