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
[slug].get.ts router param [slug] will be prestationId instead of slug
If I rename the [slug].get.ts to [alug].get.ts (before in alphabetical order) it will have the correct parameter. I haven't tested if in this situation the route [prestationId]/index.patch.ts will now have the wrong parameter names.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
Environment
Nitro: 2.9.6 with Nuxt 3.12.2
Node: v20.14.0
Reproduction
/plop
Describe the bug
Maybe related to #2349
When having different param names within the same folder:
[slug].get.ts
router param[slug]
will beprestationId
instead ofslug
If I rename the
[slug].get.ts
to[alug].get.ts
(before in alphabetical order) it will have the correct parameter. I haven't tested if in this situation the route[prestationId]/index.patch.ts
will now have the wrong parameter names.Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: