docs: add Rsbuild scaffold guide (#12475)

This commit is contained in:
neverland
2023-11-27 10:46:21 +08:00
committed by GitHub
parent 9d219a535f
commit 17a65c1471
6 changed files with 84 additions and 0 deletions
+14
View File
@@ -34,6 +34,20 @@ Vant 是一个**轻量、可定制的移动端组件库**,于 2017 年开源
你当前浏览的是 **Vant 4.x 版本** 的文档,适用于 Vue 3 开发。如果你在使用 Vue 2,请浏览 [Vant 2 文档](https://vant-contrib.gitee.io/vant/v2)。
### 脚手架
推荐使用 [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)章节,通过该章节你可以了解到 Vant 的安装方法和基本使用姿势。