mirror of
https://github.com/VibedByKaKi/t3-code-android-nightly.git
synced 2026-10-16 23:37:44 +02:00
21 lines
437 B
TypeScript
21 lines
437 B
TypeScript
import type { unstable_RSCRouteConfigEntry } from "react-router";
|
|
|
|
export const routes: Array<unstable_RSCRouteConfigEntry> = [
|
|
{
|
|
id: "root",
|
|
path: "",
|
|
lazy: () => import("./root"),
|
|
children: [
|
|
{
|
|
id: "home",
|
|
index: true,
|
|
lazy: () => import("./routes/home"),
|
|
},
|
|
{
|
|
id: "about",
|
|
path: "about",
|
|
lazy: () => import("./routes/about"),
|
|
},
|
|
],
|
|
},
|
|
];
|