monarch-cli

Command line tool for developing Elm apps


Keywords
elm-lang, elm, start-app, spa, generator
License
ISC
Install
npm install monarch-cli@0.1.1

Documentation

Monarch

Monarch is a command line tool for developing scalable, maintainable Elm apps productively.

until version 1 assume unstable

System Requirements

  1. Node 4+
  2. Elm 0.17

Install

$ npm install monarch-cli -g

Get help

$ monarch --help

Starting a new Single Page Application

$ monarch new awesome-app
$ cd awesome-app && npm install && elm-package install -y
$ npm run dev

The single page application uses hop as the routing layer

Making a new component

While in your project directory run:

$ monarch component hello

This will create a new component view at src/components/<name>/View.elm