chore: basic layout

This commit is contained in:
2025-08-04 10:58:38 +08:00
parent cb542ffb9c
commit ff657f29d4
12 changed files with 336 additions and 23 deletions

8
src/routes/index.tsx Normal file
View File

@@ -0,0 +1,8 @@
import { createFileRoute, redirect } from '@tanstack/react-router';
export const Route = createFileRoute('/')({
// TODO: 登录校验
beforeLoad: () => {
throw redirect({ to: '/dashboard' });
},
});