[Doc] update install guide

This commit is contained in:
陈嘉涵
2019-05-26 10:21:17 +08:00
parent 68537de73f
commit 80a7b7cae9
5 changed files with 19 additions and 27 deletions
+6 -10
View File
@@ -35,19 +35,15 @@
## Install
#### NPM
```shell
```bash
# install vant 1.x
npm i vant -S
# install vant 2.0 beta
npm i vant@beta -S
```
#### YARN
```shell
yarn add vant
```
#### CDN
## CDN
```html
<!-- import style -->