TTMT.ManageWebGUI/src/routes/_auth/dashboard/index.tsx

16 lines
413 B
TypeScript
Raw Normal View History

2025-12-22 14:53:19 +07:00
import { createFileRoute } from '@tanstack/react-router'
export const Route = createFileRoute('/_auth/dashboard/')({
component: RouteComponent,
2026-03-04 14:41:34 +07:00
head: () => ({ meta: [{ title: 'Dashboard' }] }),
loader: async ({ context }) => {
context.breadcrumbs = [
{ title: "Dashboard", path: "/_auth/dashboard/" },
];
},
2025-12-22 14:53:19 +07:00
})
function RouteComponent() {
return <div>Hello "/(auth)/dashboard/"!</div>
}