You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expect that the docs/.... requests will be handled by the folder docs.page.ts layout and /docs/[...slug].page.ts page router, as catch-all routs should have lower priority.
But all pages will be handled by (slug).page.ts layout and /(slug)/[...slug].page.ts page router.
Please provide the environment you discovered this bug in.
https://stackblitz.com/edit/github-nzwggh?file=src%2Fapp%2Fpages%2Findex.page.ts
Which area/package is the issue in?
router
Description
I have :
Please provide the exception or error you saw
I expect that the
docs/....
requests will be handled by the folderdocs.page.ts
layout and/docs/[...slug].page.ts
page router, as catch-all routs should have lower priority.But all pages will be handled by
(slug).page.ts
layout and/(slug)/[...slug].page.ts
page router.If I change it, it will work, but I lose Layout
Other information
I have a proposal to have another type of file that will specify the Layout exactly as Pages
*.layout.ts
Examples :
In this way, the route will be able to have multiple repeatable layouts tree
I would be willing to submit a PR to fix this issue
The text was updated successfully, but these errors were encountered: