- Elm 0.19 ready
- Multiple pages navigation & routing, based on URL fragments
- Live development server with hot reloading
- elm-test support
The application stores Elm source code in the
$ tree --dirsfirst skeleton/src src ├── Data │ └── Session.elm ├── Page │ ├── Home.elm │ └── SecondPage.elm ├── Request │ └── Github.elm ├── Views │ ├── Page.elm │ └── Theme.elm ├── Main.elm └── Route.elm
Richard Feldman explains this organization in a dedicated blog post.
$ npm install -g elm-kitchen $ elm-kitchen my-app $ cd my-app $ npm install
To start the development server:
$ npm start
This will serve and recompile Elm code when source files change. Served application is available at localhost:3000.
$ npm test
Tests are located in the
tests folder and are powered by elm-test.
$ npm run build
The resulting build is available in the
deploy command is provided to publish code on Github Pages.
$ npm run deploy