docs: install with pnpm (#9850)

This commit is contained in:
neverland
2021-11-12 17:49:53 +08:00
committed by GitHub
parent c65e336bf6
commit b163d87064
18 changed files with 131 additions and 85 deletions

View File

@@ -46,11 +46,17 @@ Vant 是**有赞前端团队**开源的移动端组件库,于 2017 年开源
## 安装
```bash
# Vue 2 项目,安装 Vant 2
npm i vant -S
# Vue 2 项目,安装 Vant 2
npm i vant@2
# Vue 3 项目,安装 Vant 3
npm i vant@next -S
# Vue 3 项目,安装 Vant 3
npm i vant@3
# 通过 yarn 安装
yarn add vant@3
# 通过 pnpm 安装
pnpm add vant@3
```
## 快速上手