diff --git a/README.md b/README.md index bb73583e3..09c0ecf12 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,8 @@ npm i vant -S yarn add vant ``` +> Tips: Please install Vant 3.0 for Vue 3 projects, see [issue#7035](https://github.com/youzan/vant/issues/7035) + ## Quickstart ```js diff --git a/README.zh-CN.md b/README.zh-CN.md index f39e36e19..86e8a0dcb 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -48,6 +48,8 @@ npm i vant -S yarn add vant ``` +> Tips: Vue 3 项目请安装 Vant 3.0,参见 [issue#7035](https://github.com/youzan/vant/issues/7035) + ## 快速上手 ```js diff --git a/docs/markdown/quickstart.en-US.md b/docs/markdown/quickstart.en-US.md index f86b090df..3662bf00a 100644 --- a/docs/markdown/quickstart.en-US.md +++ b/docs/markdown/quickstart.en-US.md @@ -29,6 +29,8 @@ npm i vant -S yarn add vant ``` +> Tips: Please install Vant 3.0 for Vue 3 projects, see [issue#7035](https://github.com/youzan/vant/issues/7035) + ## Usage ### 1. Import on demand diff --git a/docs/markdown/quickstart.zh-CN.md b/docs/markdown/quickstart.zh-CN.md index 3c30beef9..6eced930e 100644 --- a/docs/markdown/quickstart.zh-CN.md +++ b/docs/markdown/quickstart.zh-CN.md @@ -31,6 +31,8 @@ npm i vant -S yarn add vant ``` +> Tips: Vue 3 项目请安装 Vant 3.0,参见 [issue#7035](https://github.com/youzan/vant/issues/7035) + ### 示例工程 我们提供了一个基于 Vue Cli 的[示例工程](https://github.com/youzan/vant-demo),示例工程会帮助你了解如下内容: diff --git a/vant.config.js b/vant.config.js index d29227fec..f73352b73 100644 --- a/vant.config.js +++ b/vant.config.js @@ -11,7 +11,10 @@ module.exports = { }, site: { defaultLang: 'en-US', - versions: [{ label: '1.x', link: 'https://youzan.github.io/vant/1.x/' }], + versions: [ + { label: '1.x', link: 'https://youzan.github.io/vant/1.x/' }, + { label: '3.x', link: 'https://youzan.github.io/vant/next/' }, + ], baiduAnalytics: { seed: 'ad6b5732c36321f2dafed737ac2da92f', },