function / @typed/vue/Router

useLocation

Public function exposed as useLocation from @typed/vue/Router.

Package version
1.0.0-beta.13
Category
function

Import

import { useLocation } from "@typed/vue/Router";

Signatures

export declare function useLocation<ER = never>(options?: ReactiveOptions<Destination, never, Navigation, ER>): import("./Reactive.js").AsyncState<{
    readonly id: string;
    readonly key: string;
    readonly url: URL;
    readonly state: unknown;
    readonly sameDocument: boolean;
}, ER>;

Other public imports

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

Source