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

    Interface RouteRecordMultipleViews

    Route Record defining multiple named components with the components option.

    interface RouteRecordMultipleViews {
        alias?: string | string[];
        beforeEnter?:
            | NavigationGuardWithThis<undefined>
            | NavigationGuardWithThis<undefined>[];
        children?: undefined;
        component?: undefined;
        components: Record<string, RawRouteComponent>;
        end?: boolean;
        meta?: RouteMeta;
        name?: RouteRecordNameGeneric;
        path: string;
        props?: boolean | Record<string, _RouteRecordProps<string | symbol>>;
        redirect?: undefined;
        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?: undefined

    Array of nested routes.

    component?: undefined
    components: Record<string, RawRouteComponent>

    Components to display when the URL matches this route. Allow using named views.

    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?: boolean | Record<string, _RouteRecordProps<string | symbol>>

    Allow passing down params as props to the component rendered by router-view. Should be an object with the same keys as components or a boolean to be applied to every component.

    redirect?: undefined

    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