Route: BaseRoute<{
name?: string;
data?(ctx) => any;
component?(ctx) => ComponentType | Promise<ComponentType | {
default: ComponentType;
}>;
}>
Type declaration
-
Optional
name?: string
-
data?:function
- data(ctx): any
-
Returns any
-
component?:function
- component(ctx): ComponentType | Promise<ComponentType | {
default: ComponentType;
}>
-
Returns ComponentType | Promise<ComponentType | {
default: ComponentType;
}>