Elmion is a very tiny boilerplate for writing Elm apps, it includes only the bare minimum:
- Elm compiler
- SCSS compiler
- Dev server with live reloading
- Basic app structure
First, you need to install Elm globally:
npm install -g elm
You also have to install the onchange module globally:
npm install -g onchange
Open the elmion directory and run:
npm install
Next, install the Elm packages:
elm package install
Running npm run watch will compile the Elm app, compile the SCSS code, start a local server, load the app into your default browser and watch file changes.
Other tasks available:
npm run elmwill compile the Elm appnpm run scsswill compile the SCSS codenpm run buildwill compile both the Elm and SCSS codenpm run watch:elmwill watch any changes to your Elm app and recompile the codenpm run watch:scsswill watch any changes to your SCSS code and recompile the codenpm run servewill start the local dev server and reload when any changes are made to the build folder
- Add JS minification
- Add more tasks
MIT