[Vuejs]-How to get current name of a router in Vue?

0👍

From this you can get the idea that it’s not clear $route is updated when the beforeRouteUpdate is called. beforeRouteUpdate is using for determining to approve or prevent the next. You can get the current name using computed or watch property.

Leave a comment