Skip to content

vue-router / routerViewLocationKey

routerViewLocationKey

ts
const routerViewLocationKey: InjectionKey<Ref<RouteLocationNormalizedLoadedGeneric, RouteLocationNormalizedLoadedGeneric>>;

Internal

Allows overriding the current route used by router-view. Internally this is used when the route prop is passed.

Released under the MIT License.