Files
zhixing-system/zhixing-web/src/routes/route-tree.tsx
T

16 lines
406 B
TypeScript
Raw Normal View History

import { createRootRoute, createRoute, Outlet } from "@tanstack/react-router"
import { SystemStatusPage } from "@/features/system/pages/system-status-page"
const rootRoute = createRootRoute({
component: () => <Outlet />,
})
const indexRoute = createRoute({
getParentRoute: () => rootRoute,
path: "/",
component: SystemStatusPage,
})
export const routeTree = rootRoute.addChildren([indexRoute])