type-only, used to assist Mixin's type inference,
typescript will try to simplify the inferred Mixin type,
with the __differenciator, typescript won't be able to combine different mixins,
because the __differenciator will be different
Optional __file
__file?:string
This one should be exposed so that devtools can make use of it
Optional __isBuiltIn
__isBuiltIn?:boolean
Compat build only, for bailing out of certain compatibility behavior
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.
param to
RouteLocationRaw we are navigating to
param from
RouteLocationRaw we are navigating from
param next
function to validate, cancel or modify (by redirecting) the
navigation
Optional beforeRouteLeave
beforeRouteLeave?:NavigationGuard
Guard called when the router is navigating away from the current route that
is rendering this component.
param to
RouteLocationRaw we are navigating to
param from
RouteLocationRaw we are navigating from
param next
function to validate, cancel or modify (by redirecting) the
navigation
Optional beforeRouteUpdate
beforeRouteUpdate?:NavigationGuard
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.
param to
RouteLocationRaw we are navigating to
param from
RouteLocationRaw we are navigating from
param next
function to validate, cancel or modify (by redirecting) the
navigation
#3468
type-only, used to assist Mixin's type inference, typescript will try to simplify the inferred
Mixin
type, with the__differenciator
, typescript won't be able to combine different mixins, because the__differenciator
will be different