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

    Interface _RouteRecordBase

    Internal type for common properties among all kind of RouteRecordRaw.

    interface _RouteRecordBase {
        alias?: string | string[];
        beforeEnter?:
            | NavigationGuardWithThis<undefined>
            | NavigationGuardWithThis<undefined>[];
        children?: RouteRecordRaw[];
        end?: boolean;
        meta?: RouteMeta;
        name?: RouteRecordNameGeneric;
        path: string;
        props?:
            | _RouteRecordProps<string | symbol>
            | Record<string, _RouteRecordProps<string | symbol>>;
        redirect?: RouteRecordRedirectOption;
        sensitive?: boolean;
        strict?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    alias?: string | string[]

    Aliases for the record. Allows defining extra paths that will behave like a copy of the record. Allows having paths shorthands like /users/:id and /u/:id. All alias and path values must share the same params.

    beforeEnter?:
        | NavigationGuardWithThis<undefined>
        | NavigationGuardWithThis<undefined>[]

    Before Enter guard specific to this record. Note beforeEnter has no effect if the record has a redirect property.

    children?: RouteRecordRaw[]

    Array of nested routes.

    end?: boolean

    Should the RegExp match until the end by appending a $ to it.

    true

    meta?: RouteMeta

    Arbitrary data attached to the record.

    Name for the route record. Must be unique.

    path: string

    Path of the record. Should start with / unless the record is the child of another record.

    `/users/:id` matches `/users/1` as well as `/users/posva`.
    
    props?:
        | _RouteRecordProps<string | symbol>
        | Record<string, _RouteRecordProps<string | symbol>>

    Allow passing down params as props to the component rendered by router-view.

    Where to redirect if the route is directly matched. The redirection happens before any navigation guard and triggers a new navigation with the new target location.

    sensitive?: boolean

    Makes the RegExp case-sensitive.

    false

    strict?: boolean

    Whether to disallow a trailing slash or not.

    false