Template for new projects coded in Elm and styled with Bulma using Parcel to compile and pack everything up.
Additional goodies:
This starter template requires that Node.js is installed on your system.
Clone this repository:
$ git clone https://github.com/haraldmaida/elm-bulma-parcel-starter.git my-new-project
Install the components:
$ npm install
Optionally configure your editor to run elm-format on file save.
Start up a server, watching for file changes, compiling for debugging and hot reloading:
$ npm start
Build for debugging (like npm start but without starting a server and without watching for changes):
$ npm run check
Run Elm tests:
$ npm test
Format Elm source files:
$ npm run format
Build for production:
$ npm run build
This template is designed to install Parcel and all Elm related tools locally (i.e. in the
project's node_modules
folder). I prefer this approach over a globally installed toolchain, to be
able to simultaneously work on older projects which are not migrated to Elm 0.19 (yet).