joshburgess/elm-route-craft/1.0.0

Page.Static

Convenience module for creating static pages.

import Page.Static as Static


aboutPage =
    Static.page
        { view = \shared -> Html.text "About"
        }
page : { view : shared -> Html msg } -> Page shared () msg

Create a static page with only a view function. Alias for Page.static.