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 run into this issue by using the awesome vite-plugin-kit-routes. The issue describes the same problem but I guess Sveltekit should complain about conflicting routes to solve the issue.
Describe the bug
I run into this issue by using the awesome vite-plugin-kit-routes. The issue describes the same problem but I guess Sveltekit should complain about conflicting routes to solve the issue.
I have the following route structure:
This generates the following routes
(group)/base
(group)/base/(optional-group)/[[optionalParam]]
(Un)Fortunately, the paths are actually resolving the correct page.svelte
/base
->(group)/base
/base/myparam
->(group)/base/(optional-group)/[[optionalParam]]
If I remove one of the groups,
(group)
or(optional-group)
, I got the following error message:I guess the error should also appear when using the groups?
To use this route structure correctly
[[optionalParam]]
to[requiredParam]
(group)base/+page.ts
Reproduction
https://stackblitz.com/edit/sveltejs-kit-page-groupted-duplicate?file=README.md
Logs
System Info
Severity
annoyance
Additional Information
No response
The text was updated successfully, but these errors were encountered: