Constructors

  • Creates new route.

    Parameters

    • spec: string

      Specification of the route.

    • component: Element

      Page component to render.

    • title: string

      Title of the page.

    Returns Route

  • Creates new route.

    Parameters

    • spec: string

      Specification of the route.

    • component: Element

      Page component to render.

    • title: string

      Title of the page.

    • initialData: any

      Initial data of the page.

    Returns Route

Properties

component: Element

Page component to render.

initialData: any

Initital data of the page.

layout: string

Hash of the layout.

spec: string

Specification of the route.

title: string

Title of the page.

Methods