@yesstudio/nuxt-composables
    Preparing search index...

    Interface RouteLocationAsPathTyped<RouteMap, Name>

    Helper to generate a type safe version of the RouteLocationAsPath type.

    interface RouteLocationAsPathTyped<
        RouteMap extends RouteMapGeneric = RouteMapGeneric,
        Name extends keyof RouteMap = keyof RouteMap,
    > {
        force?: boolean;
        hash?: string;
        path: _LiteralUnion<RouteMap[Name]["path"]>;
        query?: LocationQueryRaw;
        replace?: boolean;
        state?: HistoryState;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

    force?: boolean

    Triggers the navigation even if the location is the same as the current one. Note this will also add a new entry to the history unless replace: true is passed.

    hash?: string
    path: _LiteralUnion<RouteMap[Name]["path"]>

    Percentage encoded pathname section of the URL.

    replace?: boolean

    Replace the entry in the history instead of pushing a new entry

    state?: HistoryState

    State to save using the History API. This cannot contain any reactive values and some primitives like Symbols are forbidden. More info at https://developer.mozilla.org/en-US/docs/Web/API/History/state