fix: frontend routes

This commit is contained in:
tao.chen
2026-08-07 12:47:37 +08:00
parent d7934a42ab
commit 6f574073e3
12 changed files with 206 additions and 167 deletions
+2 -1
View File
@@ -1,8 +1,9 @@
import {type RouteConfig, route} from "@react-router/dev/routes";
import {type RouteConfig, index, route} from "@react-router/dev/routes";
export default [
route("login", "routes/login.tsx"),
route("", "routes/platform.tsx", [
index("features/platform/RootIndex.tsx"),
route("workbench", "features/platform/DashboardRoute.tsx"),
route("scripts", "features/platform/ScriptsPage.tsx"),
route("schedules", "features/schedules/SchedulesPageRoute.tsx"),