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