This commit is contained in:
qiuchenfan 2025-11-17 19:05:11 +08:00
parent 12e66397d8
commit 053631c64d
1 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
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('weather',"routes/weather.tsx")] satisfies RouteConfig;