Invoke:
$ elm reactor
Then access localhost:8000
and click src/Main.elm
.
Invoke:
$ mkdir -p public/js
$ elm make src/Main.elm --optimize --output=public/js/main.js
and open public/index.html
.
Install elm-test
via npm
:
$ npm install elm-test
and then invoke:
$ npx elm-test
(or just invoke $ elm-test
if you set appropriate PATH
to access the executable file)