Add plugin WebUI extension page and API routing support
Introduces a plugin router registry for registering plugin-specific API routes, static resources, and extension pages. Updates the plugin manager and context to expose the router, and implements backend and frontend support for serving and displaying plugin extension pages in the WebUI. Also adds a demo extension page and static resource to the builtin plugin.
This commit is contained in:
1 parent
bb69ae6c62
commit
012c283dee
18 files changed
+1245
-23
No files matched your search
@@ -0,0 +1,6 @@
|
||||
Hello from NapCat Builtin Plugin!
|
||||
|
||||
这是一个静态资源测试文件。
|
||||
如果你能看到这段文字,说明插件的静态资源服务正常工作。
|
||||
|
||||
时间戳: 2026-01-30
|
||||
Reference in new issue
Block a user