No description
Find a file
2014-12-10 03:30:06 -08:00
mario update for 0.14 2014-12-10 03:26:21 -08:00
todo Update to new elm-html library 2014-10-01 15:36:13 -07:00
.gitignore update for 0.14 2014-12-10 03:26:21 -08:00
elm-package.json Add elm-package.json file 2014-12-10 03:27:15 -08:00
Hello.elm update for 0.14 2014-12-10 03:26:21 -08:00
LICENSE Add a license 2014-12-10 03:30:06 -08:00
README.md update for 0.14 2014-12-10 03:26:21 -08:00

Elm Examples

A collection of simple Elm projects.

These projects are nice examples of Elm code that are great to learn from and fun to play with in Elm Reactor.

Get Set Up

After installing Elm Platform, clone this repo:

git clone https://github.com/evancz/elm-examples.git
cd elm-examples

From there you need to build the TodoMVC example. This will make it possible to open up todo/todo.html and see TodoMVC with the debugger:

cd todo
elm-get install
elm --make --only-js Todo.elm
cd ..

Finally, you can start the reactor from the root of this project and start playing with the examples:

elm-reactor

The Reactor should be running at http://localhost:8000. Check it out!

Notes

Be sure to look at todo/todo.html, not todo/Todo.elm. The Elm code uses ports to communicate with JavaScript, so you need to run this program from the HTML file which initializes everything properly.