Type alias Route

Route: BaseRoute<{
    name?: string;
    data?(ctx) => any;
    component?(ctx) => ComponentType | Promise<ComponentType | {
        default: ComponentType;
    }>;
}>

Type declaration

  • Optional name?: string
  • data?:function
  • component?:function
    • Parameters

      Returns ComponentType | Promise<ComponentType | {
          default: ComponentType;
      }>

Generated using TypeDoc