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

23 lines
617 B
TypeScript
Raw Normal View History

import { createRootRoute, createRoute, Outlet } from "@tanstack/react-router"
2026-08-07 13:29:31 +08:00
import { HomePage } from "@/features/home/pages/home-page"
import { SelectionResultsPage } from "@/features/selection/pages/selection-results-page"
const rootRoute = createRootRoute({
component: () => <Outlet />,
})
const indexRoute = createRoute({
getParentRoute: () => rootRoute,
path: "/",
2026-08-07 13:29:31 +08:00
component: HomePage,
})
const selectionRoute = createRoute({
getParentRoute: () => rootRoute,
path: "/selection",
component: SelectionResultsPage,
})
export const routeTree = rootRoute.addChildren([indexRoute, selectionRoute])