mirror of
https://github.com/Dokploy/examples.git
synced 2026-06-15 20:25:24 +02:00
17 lines
337 B
TypeScript
17 lines
337 B
TypeScript
import { Outlet, createFileRoute } from '@tanstack/react-router'
|
|
|
|
export const Route = createFileRoute('/_pathlessLayout')({
|
|
component: LayoutComponent,
|
|
})
|
|
|
|
function LayoutComponent() {
|
|
return (
|
|
<div className="p-2">
|
|
<div className="border-b">I'm a layout</div>
|
|
<div>
|
|
<Outlet />
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|