added init page

This commit is contained in:
GW_MC
2025-12-19 21:16:52 +08:00
parent d1491b8d19
commit b2b1fbaf65
3 changed files with 177 additions and 5 deletions

View File

@@ -2,8 +2,8 @@ import { type RouteConfig, index, layout, route } from '@react-router/dev/routes
export default [
route('login', 'routes/auth/login.tsx'),
route('init', 'routes/init.tsx'),
layout('routes/layout.tsx', [index('routes/home.tsx')]),
// route('init', 'routes/init.tsx'),
// catch-all 404 route
route('*', 'routes/404.tsx'),
] satisfies RouteConfig;