IronGeek
IronGeek
SSolidJS
Created by michael on 12/31/2023 in #support
How to define layout for index page?
it will be easier to set a layout exception from a Route, than it is to satisfy layout requirements for all routes
17 replies
SSolidJS
Created by michael on 12/31/2023 in #support
How to define layout for index page?
That's why I'm asking a way to break-out of root prop, because IMO, without it the root component will contain a lot of conditional to satisfy all routes requirement
17 replies
SSolidJS
Created by michael on 12/31/2023 in #support
How to define layout for index page?
root prop is a nice feature, but AS IS, it quickly became a blocker as soon as you need to exclude some routes from the root layout, or some routes need to use a different layout ...
17 replies
SSolidJS
Created by michael on 12/31/2023 in #support
How to define layout for index page?
Yes, once root prop is used, all routes will be wrapped using the root component ... which I think is a convenient since we don't need to repeat the thing for each route
17 replies
SSolidJS
Created by michael on 12/31/2023 in #support
How to define layout for index page?
Maybe something like <Route layout={false|null} /> ?
17 replies
SSolidJS
Created by michael on 12/31/2023 in #support
How to define layout for index page?
What I mean is... I'm already using the root prop, but like @michael said above, for some route (like the catchall 404 route), I need the component to be rendered directly instead of wrapped with the root layout.
17 replies
SSolidJS
Created by michael on 12/31/2023 in #support
How to define layout for index page?
Hi, Sorry to hijack the thread, but is there a way to break-out of root layout?
17 replies