[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 ## Install
#### NPM ```bash
# install vant 1.x
```shell
npm i vant -S npm i vant -S
# install vant 2.0 beta
npm i vant@beta -S
``` ```
#### YARN ## CDN
```shell
yarn add vant
```
#### CDN
```html ```html
<!-- import style --> <!-- import style -->

View File

@ -34,19 +34,15 @@
## 安装 ## 安装
#### NPM ```bash
# 安装 vant 1.x 稳定版本
```shell
npm i vant -S npm i vant -S
# 安装 vant 2.0 测试版本
npm i vant@beta -S
``` ```
#### YARN ## CDN
```shell
yarn add vant
```
#### CDN
```html ```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 ### Install
```bash ```bash
# npm # install vant 1.x
npm i vant -S npm i vant -S
# yarn # install vant 2.0 beta
yarn add vant npm i vant@beta -S
``` ```
### CDN ### CDN

View File

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