We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
route.path
Regarding #468 (comment)
When editing route.path, the path stays unchanged.
This causes #468 (comment) to still occur
e.g.:
extendRoute(route) { console.log(route.path); // "question/:q-id" route.path = "question/:qId"; console.log(route.path); // still "question/:q-id" }
Edit: I just saw https://github.com/posva/unplugin-vue-router/blob/main/src/core/extendRoutes.ts#L144, adding a leading slash would break my route hierarchy.
The text was updated successfully, but these errors were encountered:
Duplicate of #341
Sorry, something went wrong.
No branches or pull requests
Regarding #468 (comment)
When editing
route.path
, the path stays unchanged.This causes #468 (comment) to still occur
e.g.:
Edit:
I just saw https://github.com/posva/unplugin-vue-router/blob/main/src/core/extendRoutes.ts#L144, adding a leading slash would break my route hierarchy.
The text was updated successfully, but these errors were encountered: