From 053631c64dba4094ab317b6a58b0cf82c14a37f2 Mon Sep 17 00:00:00 2001 From: qiuchenfan <2035024011@qq.com> Date: Mon, 17 Nov 2025 19:05:11 +0800 Subject: [PATCH] 111 --- app/routes.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/routes.ts b/app/routes.ts index 102b402..39a1749 100644 --- a/app/routes.ts +++ b/app/routes.ts @@ -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;