mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[Doc] update install guide
This commit is contained in:
parent
68537de73f
commit
80a7b7cae9
16
README.md
16
README.md
@ -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 -->
|
||||
|
@ -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
|
||||
<!-- 引入样式 -->
|
||||
|
@ -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)
|
||||
|
||||
#### 无障碍访问
|
||||
|
||||
|
@ -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
|
||||
|
@ -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 引入
|
||||
|
Loading…
x
Reference in New Issue
Block a user