Breaking parent layout inheritance
Hi everyone,
I'm using file-based routing and have the following structure:
I want to create a new route
This needs a new layout, not inherit the HomeLayout. I tried adding
Every sub-page of
I'm using file-based routing and have the following structure:
I want to create a new route
/$lang/apps/$category/pages.tsxThis needs a new layout, not inherit the HomeLayout. I tried adding
/$lang/apps/$category/_index_.tsx (also _route_.tsx with <MainLayout> component (with outlet of course) but no luck. what am I missing? Every sub-page of
$category should be using the MainLayout