function / @typed/vue

provideCurrentRoute

Public function exposed as provideCurrentRoute from @typed/vue.

Package version
1.0.0-beta.13
Category
function

Import

import { provideCurrentRoute } from "@typed/vue";

Signatures

export declare function provideCurrentRoute(route: MaybeRefOrGetter<CurrentRouteTree>): Readonly<import("vue").ShallowRef<VueRuntime<CurrentRoute, never>>>;

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source