Skip to content

Interface: ResourcefulRouterMacro() ​

Main resourceful router macro function signature

ts
ResourcefulRouterMacro(models: MacroModelsMap, options?: Partial<ResourcefulRouterOptions>): RouteGroup;

Main resourceful router macro function signature

Parameters ​

ParameterType
modelsMacroModelsMap
options?Partial<ResourcefulRouterOptions>

Returns ​

RouteGroup