Exclude pages from nested routes
Hi guys,
Is there a way to isolate pages in nested layouts?
Example:
[category]/data-reports/forecast - nested route
[category]/data-reports/prices - nested route
[category]/data-reports/forecast/[id] - not nested route
[category]/data-reports/prices/[id] - not nested route
Also, I tried:
I will appreciate any help or hint
Is there a way to isolate pages in nested layouts?
Example:
[category]/data-reports/forecast - nested route
[category]/data-reports/prices - nested route
[category]/data-reports/forecast/[id] - not nested route
[category]/data-reports/prices/[id] - not nested route
Also, I tried:
- Using the app/router.options.ts but it seems to override all my routes
- Using the pages:extend hook, however, file routing seems to have priority over that hook.
I will appreciate any help or hint