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.
Source:stackexchange.com