mirror of
https://github.com/sunniejs/vue-h5-template.git
synced 2026-05-25 12:28:12 +08:00
24 lines
323 B
Markdown
24 lines
323 B
Markdown
# 启动项目
|
||
|
||
## 环境要求
|
||
|
||
- Node.js >= 14(推荐 16+)
|
||
- yarn(推荐)或 npm
|
||
|
||
```bash
|
||
# 拉取项目
|
||
git clone https://github.com/sunniejs/vue-h5-template
|
||
|
||
# 切换分支
|
||
git checkout -b vue2-h5-template origin/vue2-h5-template
|
||
|
||
# 安装依赖
|
||
yarn install
|
||
|
||
# 启动项目
|
||
yarn serve
|
||
|
||
# 打包
|
||
yarn build
|
||
```
|