Files
full-stack-fastapi-template/frontend/src/routes/__root.tsx

15 lines
361 B
TypeScript
Raw Normal View History

import { createRootRoute, Outlet } from '@tanstack/react-router'
import { TanStackRouterDevtools } from '@tanstack/router-devtools'
2024-03-08 14:58:36 +01:00
import NotFound from '../components/Common/NotFound'
export const Route = createRootRoute({
2024-03-08 14:58:36 +01:00
component: () => (
<>
<Outlet />
<TanStackRouterDevtools />
</>
),
notFoundComponent: () => <NotFound />,
})