Optional __defaultsOptional __differentiator#3468
type-only, used to assist Mixin's type inference,
typescript will try to simplify the inferred Mixin type,
with the __differentiator, typescript won't be able to combine different mixins,
because the __differentiator will be different
Optional __fileThis one should be exposed so that devtools can make use of it
Optional __isCompat build only, for bailing out of certain compatibility behavior
Optional __isOptional __isOptional __isOptional __namename inferred from filename
Optional beforeGuard 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.
RouteLocationRaw we are navigating to
RouteLocationRaw we are navigating from
function to validate, cancel or modify (by redirecting) the navigation
Optional beforeGuard called when the router is navigating away from the current route that is rendering this component.
RouteLocationRaw we are navigating to
RouteLocationRaw we are navigating from
function to validate, cancel or modify (by redirecting) the navigation
Optional beforeGuard 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.
RouteLocationRaw we are navigating to
RouteLocationRaw we are navigating from
function to validate, cancel or modify (by redirecting) the navigation
Optional callRest ...args: unknown[]Optional compatOptional compilerOptional componentsOptional computedOptional dataOptional delimitersruntime compile only
use compilerOptions.delimiters instead.
Optional directivesOptional emitsOptional errorOptional exposeOptional extendsOptional filtersOptional inheritOptional injectOptional methodsOptional mixinsOptional nameOptional provideOptional renderOptional renderOptional renderOptional setupOptional slotsOptional templateOptional watchOptional activatedOptional beforeOptional beforeOptional beforeOptional beforeOptional beforeOptional createdOptional deactivatedOptional destroyedOptional mountedOptional serverOptional unmountedOptional updatedGenerated using TypeDoc
Interface for declaring custom options.
Example