Guard called when the router is navigating to the route that is rendering
this component from a different route. Differently from beforeRouteUpdate
and beforeRouteLeave
, beforeRouteEnter
does not have access to the
component instance through this
because it triggers before the component
is even mounted.
Guard called when the router is navigating away from the current route that is rendering this component.
Guard called whenever the route that renders this component has changed but it is reused for the new route. This allows you to guard for changes in params, the query or the hash.
Generated using TypeDoc
Interface for declaring custom options.