2020-11-15 20:27:09 +00:00
|
|
|
module Main exposing (..)
|
|
|
|
|
|
|
|
import Browser
|
2020-11-15 20:52:57 +00:00
|
|
|
import Html exposing (Html, div, h1, img, text)
|
2020-11-15 20:27:09 +00:00
|
|
|
import Html.Attributes exposing (src)
|
|
|
|
|
|
|
|
|
|
|
|
type alias Model =
|
|
|
|
{}
|
|
|
|
|
|
|
|
|
|
|
|
init : ( Model, Cmd Msg )
|
|
|
|
init =
|
|
|
|
( {}, Cmd.none )
|
|
|
|
|
|
|
|
|
|
|
|
type Msg
|
|
|
|
= NoOp
|
|
|
|
|
|
|
|
|
|
|
|
update : Msg -> Model -> ( Model, Cmd Msg )
|
|
|
|
update msg model =
|
|
|
|
( model, Cmd.none )
|
|
|
|
|
|
|
|
|
|
|
|
view : Model -> Html Msg
|
|
|
|
view model =
|
|
|
|
div []
|
2020-11-15 20:52:57 +00:00
|
|
|
[ h1 [] [ text "Your Elm App is working!" ]
|
2020-11-15 20:27:09 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
main : Program () Model Msg
|
|
|
|
main =
|
|
|
|
Browser.element
|
|
|
|
{ view = view
|
|
|
|
, init = \_ -> init
|
|
|
|
, update = update
|
|
|
|
, subscriptions = always Sub.none
|
|
|
|
}
|