$route
The $route
object contains information about the current route. When the router changes location, the original $route object is updated. Note that $route
and $router.currentRoute
will share the same properties but are actually different objects.