example-spa-elm-app/frontend/src/Page/About.elm

27 lines
456 B
Elm

module Page.About exposing
( Model
, Msg
, view
, init
, update
, subscriptions
)
import Element exposing (Element)
type alias Model = {}
type alias Msg = {}
init : () -> Model
init flags = {}
subscriptions : Model -> Sub Msg
subscriptions _ = Sub.none
update : Msg -> Model -> (Model, Cmd Msg)
update msg model = (model, Cmd.none)
view : Model -> Element Msg
view model =
Element.el []
<| Element.text "About"