docs: update install guide

This commit is contained in:
chenjiahan
2020-10-24 10:38:09 +08:00
parent c6d10abdf9
commit 2a5c67d304
4 changed files with 107 additions and 103 deletions

View File

@@ -41,15 +41,13 @@
## Install
```bash
# Using npm
# Install vant 2.x for Vue 2 project
npm i vant -S
# Using yarn
yarn add vant
# Install vant 3.x for Vue 3 project
npm i vant@next -S
```
> Tips: Please install Vant 3.0 for Vue 3 projects, see [issue#7035](https://github.com/youzan/vant/issues/7035).
## Quickstart
```js