This commit is contained in:
imnyang 2024-12-31 12:34:12 +09:00
commit 5980c4e70c
10 changed files with 122 additions and 138 deletions

View file

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