This commit is contained in:
2025-02-22 20:58:25 +01:00
parent 5f4ad2296d
commit 72f6b60963
13 changed files with 72 additions and 174 deletions

View File

@@ -1,3 +1,10 @@
import { type RouteConfig, index } from "@react-router/dev/routes";
import {
type RouteConfig,
index,
layout,
route,
} from "@react-router/dev/routes";
export default [index("routes/home.tsx")] satisfies RouteConfig;
export default [
layout("./templates/base.tsx", [index("./routes/home.tsx")]),
] satisfies RouteConfig;