docs: update contribution guide (#9668)

This commit is contained in:
neverland
2021-10-12 19:39:34 +08:00
committed by GitHub
parent bc4175e79b
commit d5b3350ee5
5 changed files with 10 additions and 14 deletions
@@ -19,15 +19,15 @@
```bash
# 克隆仓库
# 默认为 dev 分支,包含 Vant 3 的代码
# 默认为 dev 分支,对应 Vant 3 的代码
# 如果需要在 Vant 2 上进行更改,请基于 2.x 分支进行开发
git clone git@github.com:youzan/vant.git
# 安装依赖
cd vant && yarn
yarn
# 进入开发模式,浏览器访问 http://localhost:8080
npm run dev
# 进入开发模式,浏览器访问 localhost
yarn dev
```
### 目录结构