@tanstack/vue-router
Version:
Modern and scalable routing for Vue applications
5 lines (4 loc) • 397 B
TypeScript
import * as Vue from 'vue';
export type NonRouteComponent = 'pendingComponent' | 'errorComponent' | 'notFoundComponent';
export declare const nonRouteComponentContext: Vue.InjectionKey<Vue.ComputedRef<NonRouteComponent>> | undefined;
export declare function renderInNonRouteComponentContext(component: Vue.Component, props: Record<string, any> | undefined, context: NonRouteComponent): Vue.VNode;