feat: 优化文档

This commit is contained in:
Burt 2024-12-06 17:54:45 +08:00
parent 82ba799c35
commit 9995e8af8c
2 changed files with 14 additions and 11 deletions

View File

@ -4,17 +4,23 @@
同时参考 `demo` 模板,可以直接 `clone` `demo` 项目,用来参考用。
> 推荐先全部体验一下 `demo` 的示例
![unibest templates](https://oss.laf.run/ukw0y1-site/xmind/unibest模板.png)
## 创建项目
推荐使用 `pnpm` :
```sh
# 新项目创建
pnpm create unibest my-project -b base
# 参考项目
git clone https://github.com/feige996/hello-unibest unibest-demo
# 参考项目-gitee (与 github 同步,无梯子用户优先使用 gitee)
git clone https://gitee.com/feige996/hello-unibest unibest-demo
pnpm create unibest my-project -t base
```
## DEMO 模板
`demo` 模版-在线地址:<https://feige996.github.io/hello-unibest/>
推荐先全部体验一下 `demo` 的示例
## 必看章节
- [介绍](/base/1-introduction)

View File

@ -14,11 +14,8 @@ hero:
text: 介绍
link: /base/1-introduction
- theme: alt
text: 项目地址
link: https://github.com/feige996/unibest/
- theme: alt
text: 查看演示
link: https://feige996.github.io/hello-unibest/#/
text: 快速开始
link: /base/2-start
- theme: brand
text: 🥤 打赏
link: /advanced/rewards/rewards