aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/routes.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes.ts')
-rw-r--r--src/routes.ts8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/routes.ts b/src/routes.ts
index f0a0ef8..92eced8 100644
--- a/src/routes.ts
+++ b/src/routes.ts
@@ -1,4 +1,4 @@
-import { ClipboardTextIcon, HouseIcon, InfoIcon, UserIcon } from '@phosphor-icons/react'
+import { ClipboardTextIcon, HouseIcon, InfoIcon, SquaresFourIcon, UserIcon } from '@phosphor-icons/react'
import type { Icon } from '@phosphor-icons/react'
import type { RouteObject } from 'react-router'
import App from './App.tsx'
@@ -24,6 +24,12 @@ export const pageRoutes = [
handle: { title: '表单示例', icon: ClipboardTextIcon },
},
{
+ id: 'ui-kit',
+ path: '/ui-kit',
+ lazy: async () => ({ Component: (await import('./UiKit.tsx')).default }),
+ handle: { title: 'UI Kit', icon: SquaresFourIcon },
+ },
+ {
id: 'about',
path: '/about',
handle: { title: '关于', icon: InfoIcon },