vapor-chamber API reference - v1.16.0
    Preparing search index...

    Type Alias RouteLocation

    A resolved, normalized location — what guards and useRoute() see.

    type RouteLocation = {
        name: string | null;
        path: string;
        fullPath: string;
        params: RouteParams;
        query: QueryValues;
        hash: string;
        matched: readonly TableRecord[];
        meta: Record<string, unknown>;
    }
    Index
    name: string | null
    path: string

    Decoded path relative to base, no query/hash.

    fullPath: string

    path + query + hash, relative to base.

    params: RouteParams
    hash: string
    matched: readonly TableRecord[]

    Root-first record chain (leaf last). Empty when unmatched.

    meta: Record<string, unknown>

    Meta of the leaf record.