1.创建vue项目
vue create [project-name]
2.安装 vue-router
npm install vue-router --save
3.安装axios
npm install axios --save