Skip to content

Commit

Permalink
elmify
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Aug 14, 2020
1 parent 2dfcdad commit 7ce1d36
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
@@ -0,0 +1,2 @@
/dist
/elm-stuff
27 changes: 27 additions & 0 deletions elm.json
@@ -0,0 +1,27 @@
{
"type": "application",
"source-directories": [
"src"
],
"elm-version": "0.19.1",
"dependencies": {
"direct": {
"elm/browser": "1.0.2",
"elm/core": "1.0.5",
"elm/html": "1.0.0",
"rtfeldman/elm-css": "16.0.1"
},
"indirect": {
"Skinney/murmur3": "2.0.8",
"elm/json": "1.1.3",
"elm/time": "1.0.0",
"elm/url": "1.0.0",
"elm/virtual-dom": "1.0.2",
"rtfeldman/elm-hex": "1.0.0"
}
},
"test-dependencies": {
"direct": {},
"indirect": {}
}
}
42 changes: 42 additions & 0 deletions src/Main.elm
@@ -0,0 +1,42 @@
module Main exposing (..)

import Browser exposing (Document)


type alias Flags =
()


type alias Model =
{}


type alias Msg =
()


init : Flags -> ( Model, Cmd Msg )
init _ =
( {}, Cmd.none )


update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
( model, Cmd.none )


view : Model -> Document Msg
view model =
{ title = "ELO Anything!"
, body = []
}


main : Program Flags Model Msg
main =
Browser.document
{ init = init
, update = update
, view = view
, subscriptions = \_ -> Sub.none
}

0 comments on commit 7ce1d36

Please sign in to comment.