Taking inspiration from this
comment,
elm bootstrap runs a local server that serves an index.html that you can add
custom CSS and markup to. Your elm code compiled on each change to any file
contained in src/
, and the resultant javascript file is embedded within the
served document.
- Go installed (https://golang.org/dl/)
- This repo is cloned into your
$GOPATH
- Elm is installed (https://guide.elm-lang.org/get_started.html)
- Run
elm package install -y
to install the elm dependencies listed inelm-package.json
- Run
go run main.go
- Make a change in
src/Main.elm
and save (the elm code is only compiled when a file change is detected) - Go to
localhost:8080