Skip to content

RouteConfig type

Home > @rimitive/router > RouteConfig

Route configuration - pure data, no components

Signature:

export type RouteConfig = {
id: string;
path: string;
children?: RouteConfig[];
};

References: RouteConfig