Hierarchy

  • Routes

Implements

Constructors

Properties

Methods

Constructors

Properties

helpers: Record<string, HelperRoute> = {}
routes: Record<string, FlarumGenericRoute> = {}

Methods

  • Add a mithril route to the application.

    Parameters

    • name: string

      The name of the route.

    • path: `/${string}`

      The path of the route.

    • component: any

      must extend Page component.

    Returns Routes

Generated using TypeDoc v0.23.24