Skip to content

Commit c641b8b

Browse files
committed
update docs
1 parent d9f55f4 commit c641b8b

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

docs/guide/summary/quick-start.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,10 @@ title: 快速开始
121121
11. 启动 fastapi 服务
122122

123123
::: warning
124-
此项目默认使用 CLI 启动服务,为了方便本地调试,你仍然可以选择在 IDE 中右键运行 main.py 文件
124+
此项目默认使用 CLI 启动服务,为了方便本地调试,你仍然可以选择在 IDE 中右键运行 `run.py` 文件
125+
126+
如果你在项目中安装了 [独立 app 插件](../../plugin/market.md),请务必使用 `run.py`
127+
启动项目,否则,您将收到启动错误,详情:[fastapi/fastapi#13372 (comment)](https://github.com/fastapi/fastapi/discussions/13372#discussioncomment-12211232)
125128
:::
126129

127130
帮助

docs/plugin/market.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ title: 插件市场
1515
- <Badge type="tip" text="fba" /> - 仅后端代码插件
1616
- <Badge text="fba-arco" color="#4582ff"/> - 包含前端 [fastapi_best_architecture_ui](https://github.com/fastapi-practices/fastapi_best_architecture_ui) 代码插件
1717
- <Badge text="fba-vben" color="#c178ec"/> - 包含前端 [fba_ui](https://github.com/fastapi-practices/fba_ui) 代码插件
18+
- <Badge text="app" color="#D6DD59"/> - 独立 app 插件
19+
- <Badge text="app-extra" color="#59C7DD"/> - 非独立 app 插件 / 内置 app 扩展
1820

1921
:::
2022

@@ -28,13 +30,15 @@ title: 插件市场
2830
<span>
2931
<Badge type="info" text="free" />
3032
<Badge type="tip" text="fba" />
33+
<Badge text="app-extra" color="#59C7DD"/>
3134
</span>
3235
</LinkCard>
3336
<LinkCard title="Casbin-RBAC" href="https://discord.com/channels/1185035164577972344/1340300371251302451">
3437
<p>添加基于 Casbin 实现的 RBAC 权限</p>
3538
<span>
3639
<Badge type="info" text="free" />
3740
<Badge type="tip" text="fba" />
41+
<Badge text="app-extra" color="#59C7DD"/>
3842
</span>
3943
</LinkCard>
4044
</CardGrid>
@@ -48,7 +52,6 @@ title: 插件市场
4852
</Card>
4953
</CardGrid>
5054

51-
5255
## 安装
5356

5457
插件安装方式大致可分为两种

0 commit comments

Comments
 (0)