Skip to content
Source
Sign inSign up
TanStack/router
Open History to see the last commit

_pathlessLayout.tsx

16 lines337 Bytes

1import { Outlet, createFileRoute } from '@tanstack/solid-router'
2​
3export const Route = createFileRoute('/_pathlessLayout')({
4 component: PathlessLayoutComponent,
5})
6​
7function PathlessLayoutComponent() {
8 return (
9 <div class="p-2">
10 <div>I'm a pathless layout</div>
11 <div>
12 <Outlet />
13 </div>
14 </div>
15 )