You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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