UNPKG

@tanstack/vue-router

Version:

Modern and scalable routing for Vue applications

13 lines (12 loc) 327 B
import * as Vue from "vue"; //#region src/routerContext.tsx var routerContext = Symbol("TanStackRouter"); /** * Provides the router to all child components */ function provideRouter(router) { Vue.provide(routerContext, router); } //#endregion export { provideRouter, routerContext }; //# sourceMappingURL=routerContext.js.map