Router setup
This commit is contained in:
12
packages/webui/src/routes/__root.tsx
Normal file
12
packages/webui/src/routes/__root.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import { Outlet, createRootRoute } from "@tanstack/react-router"
|
||||
|
||||
|
||||
export function Root() {
|
||||
return <>
|
||||
<div className="container mx-auto">
|
||||
<Outlet />
|
||||
</div>
|
||||
</>
|
||||
}
|
||||
|
||||
export const Route = createRootRoute({ component: Root })
|
||||
Reference in New Issue
Block a user