- Install elm https://guide.elm-lang.org/install/elm.html
- Install nodejs https://nodejs.org/en/
- Try
elm-replto see that it works - Install elm-format
sudo npm install elm-format -g - Install elm-test
sudo npm install elm-test -g - Install uglifyjs
sudo npm install uglify-js -g - Install IntelliJ Elm plugin
- Under
Preferencesetup toolchain for Elm compiler, elm-format and elm-test
- Run
./optimize.shin terminal - Open
build/index.hmtlin browser
elm-test
npx elm-test --watch- To add dependencies
elm install elm/random - To have quick feedback loop by watching file for changes
sudo npm install -g chokidar-clichokidar "**/*.elm" -c "./optimize.sh"- Reload
build/index.hmtlin browser