- Create Elm skeleton with Routing included
- Support Elm 0.18
You need elm
at global
npm install -g elm
/
├── 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
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
npm run dev
MIT © tom76kimo