Merge branch '2.x' into dev

This commit is contained in:
chenjiahan
2020-10-24 10:41:39 +08:00
4 changed files with 111 additions and 107 deletions
+4 -6
View File
@@ -44,15 +44,13 @@ Vant 是**有赞前端团队**开源的移动端组件库,于 2016 年开源
## 安装
```bash
# 通过 npm 安装
# Vue 2 项目,安装 Vant 2.x 版本:
npm i vant -S
# Vue 3 项目,安装 Vant 3.x 版本:
npm i vant@next -S
# 通过 yarn 安装
yarn add vant@next
```
> Tips: Vue 3 项目请安装 Vant 3.0,参见 [issue#7035](https://github.com/youzan/vant/issues/7035)。
## 快速上手
```js