Route params return "()" parentheses after the param name #1807
-
|
I experienced a change of the Using an |
Beta Was this translation helpful? Give feedback.
Answered by
posva
Apr 21, 2023
Replies: 1 comment
-
|
I think Nuxt does this by default to improve the support of mixed params routes: file |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
lucassimines
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

I think Nuxt does this by default to improve the support of mixed params routes: file
[a]_bbecomes:a()_binstead of:a_bwhich would have a param nameda_b. This is a valid syntax for params.