mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
docs: update version
This commit is contained in:
parent
366ef4fd5d
commit
55ed1e6b22
@ -43,10 +43,10 @@
|
||||
## Install
|
||||
|
||||
```bash
|
||||
# Install vant v2 for Vue 2 project
|
||||
# Install Vant 2 for Vue 2 project
|
||||
npm i vant -S
|
||||
|
||||
# Install vant v3 for Vue 3 project
|
||||
# Install Vant 3 for Vue 3 project
|
||||
npm i vant@next -S
|
||||
```
|
||||
|
||||
|
@ -46,10 +46,10 @@ Vant 是**有赞前端团队**开源的移动端组件库,于 2017 年开源
|
||||
## 安装
|
||||
|
||||
```bash
|
||||
# Vue 2 项目,安装 Vant v2 版本:
|
||||
# Vue 2 项目,安装 Vant 2:
|
||||
npm i vant -S
|
||||
|
||||
# Vue 3 项目,安装 Vant v3 版本:
|
||||
# Vue 3 项目,安装 Vant 3:
|
||||
npm i vant@next -S
|
||||
```
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
### Tips
|
||||
|
||||
The current document is the changelog of Vant v2. If you want to view the changelog of Vant 3.x, please visit [Vant 3.x Changelog](https://youzan.github.io/vant/next/#/en-US/changelog).
|
||||
The current document is the changelog of Vant 2. If you want to view the changelog of Vant 3, please visit [Vant 3 Changelog](https://youzan.github.io/vant/next/#/en-US/changelog).
|
||||
|
||||
### Intro
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
### 提示
|
||||
|
||||
当前文档为 Vant v2 版本的更新日志,如需查询 Vant v3 的更新内容,请访问 [Vant 3.x 更新日志](https://youzan.github.io/vant/next/#/zh-CN/changelog)。
|
||||
当前文档为 Vant 2 的更新日志,如需查询 Vant 3 的更新内容,请访问 [Vant 3 更新日志](https://youzan.github.io/vant/next/#/zh-CN/changelog)。
|
||||
|
||||
### 介绍
|
||||
|
||||
|
@ -19,8 +19,8 @@
|
||||
|
||||
```bash
|
||||
# 克隆仓库
|
||||
# 默认为 dev 分支,包含 Vant v3 的代码
|
||||
# 如果需要在 Vant v2 上进行更改,请基于 2.x 分支进行开发
|
||||
# 默认为 dev 分支,包含 Vant 3 的代码
|
||||
# 如果需要在 Vant 2 上进行更改,请基于 2.x 分支进行开发
|
||||
git clone git@github.com:youzan/vant.git
|
||||
|
||||
# 安装依赖
|
||||
|
@ -5,10 +5,10 @@
|
||||
### npm
|
||||
|
||||
```bash
|
||||
# Install vant v2 for Vue 2 project
|
||||
# Install Vant 2 for Vue 2 project
|
||||
npm i vant -S
|
||||
|
||||
# Install vant v3 for Vue 3 project
|
||||
# Install Vant 3 for Vue 3 project
|
||||
npm i vant@next -S
|
||||
```
|
||||
|
||||
|
@ -11,10 +11,10 @@
|
||||
在现有项目中使用 Vant 时,可以通过 `npm` 或 `yarn` 进行安装:
|
||||
|
||||
```bash
|
||||
# Vue 2 项目,安装 Vant v2 版本:
|
||||
# Vue 2 项目,安装 Vant 2:
|
||||
npm i vant -S
|
||||
|
||||
# Vue 3 项目,安装 Vant v3 版本:
|
||||
# Vue 3 项目,安装 Vant 3:
|
||||
npm i vant@next -S
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user