diff --git a/README.md b/README.md index 911df17e1..2bff0a098 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,20 @@ npm i vant -S npm i vant@latest-v2 -S ``` +## Scaffold + +It is recommended to use [Rsbuild](https://github.com/web-infra-dev/rsbuild) to create a scaffold project. + +Rsbuild is a build tool based on Rspack, developed by the author of Vant, with first-class build speed and development experience, providing first-priority support for Vant. + +You can create a Rsbuild project with the following command: + +```bash +npm create rsbuild@latest +``` + +Please visit the [Rsbuild repository](https://github.com/web-infra-dev/rsbuild) for more information. + ## Quickstart ```js diff --git a/README.zh-CN.md b/README.zh-CN.md index da24d5b96..9cbaece13 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -54,6 +54,20 @@ npm i vant -S npm i vant@latest-v2 -S ``` +## 脚手架 + +推荐使用 [Rsbuild](https://github.com/web-infra-dev/rsbuild) 来创建一个脚手架项目。 + +Rsbuild 是基于 Rspack 的构建工具,由 Vant 作者开发,具备一流的构建速度和开发体验,对 Vant 提供第一优先级支持。 + +你可以通过以下命令创建一个 Rsbuild 项目: + +```bash +npm create rsbuild@latest +``` + +请访问 [Rsbuild 仓库](https://github.com/web-infra-dev/rsbuild) 了解更多信息。 + ## 快速上手 ```js diff --git a/docs/markdown/home.en-US.md b/docs/markdown/home.en-US.md index b8be2fcae..800b9bc98 100644 --- a/docs/markdown/home.en-US.md +++ b/docs/markdown/home.en-US.md @@ -20,6 +20,20 @@ - 🍭 Support i18n - 🌍 Support SSR +### Scaffold + +It is recommended to use [Rsbuild](https://github.com/web-infra-dev/rsbuild) to create a scaffold project. + +Rsbuild is a build tool based on Rspack, developed by the author of Vant, with first-class build speed and development experience, providing first-priority support for Vant. + +You can create a Rsbuild project with the following command: + +```bash +npm create rsbuild@latest +``` + +Please visit the [Rsbuild repository](https://github.com/web-infra-dev/rsbuild) for more information. + ### Quickstart See in [Quickstart](#/en-US/quickstart). diff --git a/docs/markdown/home.zh-CN.md b/docs/markdown/home.zh-CN.md index c6d59d1c0..8efb613fa 100644 --- a/docs/markdown/home.zh-CN.md +++ b/docs/markdown/home.zh-CN.md @@ -30,6 +30,20 @@ Vant 是一个**轻量、可靠的移动端组件库**,于 2017 年开源。 - 🍭 支持服务器端渲染 - 🌍 支持国际化和语言包定制 +### 脚手架 + +推荐使用 [Rsbuild](https://github.com/web-infra-dev/rsbuild) 来创建一个脚手架项目。 + +Rsbuild 是基于 Rspack 的构建工具,由 Vant 作者开发,具备一流的构建速度和开发体验,对 Vant 提供第一优先级支持。 + +你可以通过以下命令创建一个 Rsbuild 项目: + +```bash +npm create rsbuild@latest +``` + +请访问 [Rsbuild 仓库](https://github.com/web-infra-dev/rsbuild) 了解更多信息。 + ### 快速上手 请参考[快速上手](#/zh-CN/quickstart)章节。 diff --git a/docs/markdown/quickstart.en-US.md b/docs/markdown/quickstart.en-US.md index a14fd6ac8..6c786e1f0 100644 --- a/docs/markdown/quickstart.en-US.md +++ b/docs/markdown/quickstart.en-US.md @@ -12,16 +12,27 @@ npm i vant -S npm i vant@latest-v2 -S ``` +### Scaffold + +It is recommended to use [Rsbuild](https://github.com/web-infra-dev/rsbuild) to create a scaffold project. + +Rsbuild is a build tool based on Rspack, developed by the author of Vant, with first-class build speed and development experience, providing first-priority support for Vant. + +You can create a Rsbuild project with the following command: + +```bash +npm create rsbuild@latest +``` + +Please visit the [Rsbuild repository](https://github.com/web-infra-dev/rsbuild) for more information. + ### CDN The easiest way to use Vant is to include a CDN link in the html file, after which you can access all components via the global variable `vant`. ```html - + diff --git a/docs/markdown/quickstart.zh-CN.md b/docs/markdown/quickstart.zh-CN.md index e2b54ec4a..86b4b2963 100644 --- a/docs/markdown/quickstart.zh-CN.md +++ b/docs/markdown/quickstart.zh-CN.md @@ -18,16 +18,27 @@ npm i vant -S npm i vant@latest-v2 -S ``` +### 脚手架 + +推荐使用 [Rsbuild](https://github.com/web-infra-dev/rsbuild) 来创建一个脚手架项目。 + +Rsbuild 是基于 Rspack 的构建工具,由 Vant 作者开发,具备一流的构建速度和开发体验,对 Vant 提供第一优先级支持。 + +你可以通过以下命令创建一个 Rsbuild 项目: + +```bash +npm create rsbuild@latest +``` + +请访问 [Rsbuild 仓库](https://github.com/web-infra-dev/rsbuild) 了解更多信息。 + ### 通过 CDN 安装 使用 Vant 最简单的方法是直接在 html 文件中引入 CDN 链接,之后你可以通过全局变量 `vant` 访问到所有组件。 ```html - +