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
|
## 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 -->
|
||||||
|
@ -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
|
||||||
<!-- 引入样式 -->
|
<!-- 引入样式 -->
|
||||||
|
@ -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
|
### 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
|
||||||
|
@ -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 引入
|
||||||
|
Loading…
x
Reference in New Issue
Block a user