SolidJSS
SolidJSβ€’11mo agoβ€’
12 replies
Chris

Different routes using different layouts, while doing file based routing please?

For example route /a uses layout ./src/lib/layouts/One.tsx and routes /b and /c use layout /Two.tsx

I'd rather not just wrap the layout component in the route b/c then if we swap between pages that use the same layout state is lost

Thanks!
Was this page helpful?