mi/sina/src/Main.elm

41 lines
621 B
Elm

module Main exposing (..)
import Browser
import Html exposing (Html, div, h1, img, text)
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 []
[ h1 [] [ text "Your Elm App is working!" ]
]
main : Program () Model Msg
main =
Browser.element
{ view = view
, init = \_ -> init
, update = update
, subscriptions = always Sub.none
}