vue完整创建脚手架过程


title: 第一步

cmd  
执行 vue ui

title: 第二步


![](https://gitee.com/song-jiaqiang/image/raw/master/20210913210258.png)
title: 第三步

![](https://gitee.com/song-jiaqiang/image/raw/master/20210913210401.png)

title: 第四部

![](https://gitee.com/song-jiaqiang/image/raw/master/20210913210457.png)

title: 第五步

添加  vue-router  和 vuex

![](https://gitee.com/song-jiaqiang/image/raw/master/20210913210833.png)

title: 第六步

![](https://gitee.com/song-jiaqiang/image/raw/master/20210913210955.png)

title: 第七部

![](https://gitee.com/song-jiaqiang/image/raw/master/20210913211022.png)

title: 第八步

初始化 npm
npm init  一路回车

//安装 packge 里的依赖
npm install

//安装 less-loader依赖
npm install less-loader@5.0.0 --save

//安装 element ui 依赖
npm i element-ui -S

//运行服务
npm run serve