[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

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 -->

View File

@ -34,19 +34,15 @@
## 安装
#### NPM
```shell
```bash
# 安装 vant 1.x 稳定版本
npm i vant -S
# 安装 vant 2.0 测试版本
npm i vant@beta -S
```
#### YARN
```shell
yarn add vant
```
#### CDN
## CDN
```html
<!-- 引入样式 -->

View File

@ -1,6 +1,6 @@
# 更新日志
### [v2.0.0-beta.1](https://github.com/youzan/vant/tree/v2.0.0-beta.1)
### [v2.0.0-beta.2](https://github.com/youzan/vant/tree/v2.0.0-beta.2)
#### 无障碍访问

View File

@ -22,11 +22,11 @@ In the GUI, click on 'Dependencies' -> `Install Dependencies` and add `vant` to
### Install
```bash
# npm
# install vant 1.x
npm i vant -S
# yarn
yarn add vant
# install vant 2.0 beta
npm i vant@beta -S
```
### CDN

View File

@ -31,11 +31,11 @@ vue ui
### 安装
```bash
# npm
# 安装 vant 1.x 稳定版本
npm i vant -S
# yarn
yarn add vant
# 安装 vant 2.0 测试版本
npm i vant@beta -S
```
### 通过 CDN 引入