Skip to content

A generator for generating basic template of Elm app with routing.

License

Notifications You must be signed in to change notification settings

tom76kimo/generator-elm-app

Repository files navigation

generator-elm-app NPM version Build Status Dependency Status Coverage percentage

  • Create Elm skeleton with Routing included
  • Support Elm 0.18

Prerequisite

You need elm at global

npm install -g elm

What's included

/
├── src/
│   ├── index.html
│   ├── index.js
│   ├── Main.elm
│   ├── Messages.elm
|   ├── Models.elm
|   ├── Routing.elm
|   ├── Update.elm
|   └── View.elm
├── elm-package.json
├── package.json
└── webpack.config.js

Installation

First, install Yeoman and generator-elm-app using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-elm-app

Then generate your new project:

Create project folder

mkdir my-project && cd "$_"

then

yo elm-app

How to start

npm run dev

License

MIT © tom76kimo