Pass data that is not in path variables when using router.push() #2399
Unanswered
ttc0419
asked this question in
Help and Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
https://github.com/vuejs/router/blob/main/packages/router/CHANGELOG.md#414-2022-08-22 removes the ability to pass data not in path. But for my breadcrumb widget, it need both the resource name to display and resource id to let rest client to fetch the data. And it renders itself base on the matched routes, I don't see a clean way to do it other than include both label and id as path variables, but it would be very redundant. Any idea?
Beta Was this translation helpful? Give feedback.
All reactions