We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fa59d1 commit e741f2aCopy full SHA for e741f2a
docs/plugin/dev.md
@@ -52,12 +52,16 @@ title: 插件开发
52
53
- 如果插件作为独立 app 发布(在 `backend/app` 目录下的应用,视为独立
54
app),则插件路由应完全遵循 [路由结构](../guide/reference/router.md#路由结构) 进行定义
55
-- 如果插件作为现有 app 扩展功能发布,则插件路由应当根据现有 app 中的路由结构进行 1:1 结构复制,插件路由将按结构自动注入,可参考
56
- fba
+- 如果插件作为现有 app 扩展功能发布,则插件路由应当根据现有 app 中的路由结构进行 1:1 结构复制,可参考 fba
57
源码中的内置插件 [notice](https://github.com/fastapi-practices/fastapi_best_architecture/tree/master/backend/plugin/notice/api)
58
59
:::
60
+### 插件路由说明
61
+
62
+如果插件符合插件开发的要求,则插件的所有路由都将自动注入到 FastAPI 应用中,无需任何其他操作,但值得注意的是,启动时间可能会随着插件数量的递增而增加,因为
63
+fba 会在启动前对所有插件进行解析
64
65
## 前端
66
67
一旦 [Vben Admin Antd 下一代实施](https://github.com/fastapi-practices/fba_ui) 生产可用,我们将开启此计划...
0 commit comments