Skip to content

附录 A:后台路由全表 ​

共 51 条:登录页 + 布局根 + 49 条子路由(含嵌套;通配兜底不计)。 生成自 vite-cosmos-admin/src/router/index.ts;redirect: { path: ... } 里的目标不算路由。

路径名称组件 / 重定向标题键
/loginLoginlogin/indexpage.login
/—@/layout/index—
dashboardDashboarddashboard/indexpage.dashboard
dailyDailyTodaydaily/indexpage.daily
articleArticleListblog/article/indexpage.articleList
article/createArticleCreateblog/article/editpage.articleCreate
article/edit/:idArticleEditblog/article/editpage.articleEdit
draft———
scheduleArticleScheduleblog/article/schedulepage.schedule
article/:id/history/:historyId/diffArticleHistoryDiffblog/article/history-diffpage.historyDiff
seriesSeriesManageblog/series/indexpage.series
snippetSnippetLibraryblog/snippet/indexpage.snippet
categoryCategoryManageblog/category/indexpage.category
noteNoteWorkspacenote/indexpage.note
pagePageManagecontent/page/indexpage.page
commentCommentManageinteraction/comment/indexpage.comment
messageMessageManageinteraction/message/indexpage.message
linkLinkManageinteraction/link/indexpage.link
talkTalkManagemedia/talk/indexpage.talk
albumAlbumManagemedia/album/indexpage.album
navNavManagecontent/nav/indexpage.nav
mediaMediaLibrarymedia/file/indexpage.mediaLibrary
aiAiCenterai/indexpage.aiChat
ai/kbAiKnowledgeBaseai/kb/indexpage.aiKb
ai/avatarAiAvatarai/avatar/indexpage.aiAvatar
ai/lifeAiLifeai/life/indexpage.aiLife
ai/open-loopsAiOpenLoopsai/open-loop/indexpage.aiOpenLoop
ai/profileAiProfileai/profile/indexpage.aiProfile
ai/promptAiPromptai/prompt/indexpage.aiPrompt
ai/sessionsAiSessionsai/sessions/indexpage.aiSessions
ai/digestAiDigestai/digest/indexpage.aiDigest
ai/health→ 重定向到 /extensions(能力健康已并入扩展中心)——
ai/hindsightAiHindsightConsoleai/hindsight/workbenchpage.aiHindsight
ai/hindsight/insights———
ai/hindsight/manage———
ai/usageAiUsageReportai/usage/indexpage.aiUsage
ai/exportAiDataExportai/export/indexpage.aiExport
extensionsExtensionCenterextensions/indexpage.extensions
extensions/drafts/:id?ExtensionDraftsextensions/draftspage.extensionDrafts
extensions/runs/:id?ExtensionRunsextensions/runspage.extensionRuns
extensions/approvalsExtensionApprovalsextensions/approvalspage.extensionApprovals
extensions/:keyExtensionDetailextensions/detailpage.extensionDetail
systemSystemSettingssystem/indexpage.systemSettings
system/widgetWidgetCustomizesystem/widget/indexpage.widget
system/subscriberSubscriberManagesystem/subscriber/indexpage.subscriber
system/logsSystemLogssystem/logs/indexpage.logsAudit
system/statsSystemStatssystem/stats/indexpage.stats
system/opsSystemOpssystem/ops/indexpage.ops
system/securitySecurityCentersystem/security/indexpage.security
system/tokensAgentTokenssystem/tokens/indexpage.agentTokens
system/audit———
/:pathMatch(.*)*NotFounderror/NotFoundpage.notFound

本页由 docs/vite-cosmos-项目说明.md 自动生成;请改源文件,不要改生成物。