Optimize route

This commit is contained in:
2023-11-01 09:39:22 +08:00
parent b314a9f801
commit 33b664816e
7 changed files with 41 additions and 5 deletions

2
src/global.d.ts vendored
View File

@@ -12,7 +12,7 @@ interface ImportMeta {
type RouteJsonObject = {
path: string
absolutePath?: string
absolutePath: string
id?: string
element?: React.JSX.Element
component?: React.ComponentType