how to get all matching routes? #2206
Unanswered
yogeshgalav
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
Uh oh!
There was an error while loading. Please reload this page.
-
I want to implement breadcrumb in vue-router 4 for the following route,
"sales/deposit/DepositeDetails"
which should contain 3 pages "/sales", "/sales/deposit" and "sales/deposit/DepositeDetails"
Now problem here is "$route.matched" only works if all 3 are in nested form
in earlier version it was easy by using children
but now I have to keep them as separate route or use vue render function.
How to resolve this, Can I get list of all routes to match from?
Beta Was this translation helpful? Give feedback.
All reactions