Interface GlobalComponents
interface GlobalComponents { BaseTransition: DefineComponent<BaseTransitionProps<RendererElement>, {}, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BaseTransitionProps<RendererElement>>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>; KeepAlive: DefineComponent<KeepAliveProps, {}, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KeepAliveProps>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>; Suspense: DefineComponent<SuspenseProps, {}, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SuspenseProps>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>; Teleport: DefineComponent<TeleportProps, {}, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TeleportProps>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>; Transition: DefineComponent<TransitionProps>; TransitionGroup: DefineComponent<TransitionGroupProps>; } Properties
BaseTransition
BaseTransition: DefineComponent<BaseTransitionProps<RendererElement>, {}, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BaseTransitionProps<RendererElement>>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any> KeepAlive
KeepAlive: DefineComponent<KeepAliveProps, {}, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KeepAliveProps>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any> Suspense
Suspense: DefineComponent<SuspenseProps, {}, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SuspenseProps>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any> Teleport
Teleport: DefineComponent<TeleportProps, {}, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TeleportProps>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any> Transition
TransitionGroup
For globally defined Components Here is an example of adding a component
RouterView
as global component:Example