Skip to content

Route params return "()" parentheses after the param name #1807

Closed Answered by posva
lucassimines asked this question in Help and Questions
Discussion options

You must be logged in to vote

I think Nuxt does this by default to improve the support of mixed params routes: file [a]_b becomes :a()_b instead of :a_b which would have a param named a_b. This is a valid syntax for params.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lucassimines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants