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

@@ -42,11 +42,17 @@
## Install
```bash
# Install Vant 2 for Vue 2 project
npm i vant -S
# install Vant 2 for Vue 2 project
npm i vant@2
# Install Vant 3 for Vue 3 project
npm i vant@next -S
# install Vant 3 for Vue 3 project
npm i vant@3
# with yarn
yarn add vant@3
# with pnpm
pnpm add vant@3
```
## Quickstart