module $Foldername exposing (..) import Html exposing (..) import Html.Events exposing (..) import Html.Attributes exposing (id, class) type alias Model = { } initModel : Model initModel = { } type Msg = NoOp view : Model -> Html Msg view model = div [] [ text "$Foldername" ] update : Msg -> Model -> (Model, Cmd Msg) update msg model = ( model, Cmd.none ) -- to use ports, add "port" in front of the module definition --port elmToJs : (List String) -> Cmd msg --port jsToElm : (List String -> msg) -> Sub msg --subscriptions : Model -> Sub Msg --subscriptions model = -- Sub.batch -- [ jsToElm External -- ] main = Html.program { init = (initModel, Cmd.none) , view = view , update = update --, subscriptions = subscriptions , subscriptions = \_ -> Sub.none }