Solid Router Layouts
What is the correct way to handle layouts in solid router? I was thinking of something similar to sveltekit, but I can't find anything about it
1 Reply
I got something working - using file-based routing and layout components utilizing <Outlet />. I have a global layout in
/routes/(root).tsx
that looks like:
Newish to solid, and to file-based routes, but this worked (and I actually have a tiered layout setup that I got working) so hopefully it's helpful?