mirror of
https://github.com/RYDE-WORK/full-stack-fastapi-template.git
synced 2026-01-19 21:23:36 +08:00
15 lines
361 B
TypeScript
15 lines
361 B
TypeScript
import { createRootRoute, Outlet } from '@tanstack/react-router'
|
|
import { TanStackRouterDevtools } from '@tanstack/router-devtools'
|
|
|
|
import NotFound from '../components/Common/NotFound'
|
|
|
|
export const Route = createRootRoute({
|
|
component: () => (
|
|
<>
|
|
<Outlet />
|
|
<TanStackRouterDevtools />
|
|
</>
|
|
),
|
|
notFoundComponent: () => <NotFound />,
|
|
})
|