A Brunch build tool setup for Elm 0.17.
Set up your own project based on this repository. Just run the following command:
-
brunch new your-app-name -s gh:fabiofilli/elm-brunch-setup
-
cd your-app-name
-
npm install
-
elm package install
-
brunch watch --server
Now you should see Hello World!
on http://localhost:3333/
. Have fun!
- Create optimized production build for elm main.js
- Install:
brew install elm
on OS Xnpm install -g elm
on Linux, ...
- More infos:
- Install (if you don't have them):
- Run:
brunch watch --server
— watches the project with continuous rebuild. This will also launch HTTP server with pushState.brunch build --production
— builds minified project for production
- Learn:
public/
dir is fully auto-generated and served by HTTP server. Write your code inapp/
dir.- Place static files you want to be copied from
app/assets/
topublic/
. - Brunch site, Getting started guide