No description
Find a file
Michael James 0d992edf6e Merge pull request #9 from evancz/patch-3
Fix error in which gifs do not appear in all settings
2014-09-24 23:50:40 -04:00
mario Fix error in which gifs do not appear in all settings 2014-09-23 20:03:32 -07:00
todo Fix #6, upgrade to new composition operator 2014-09-22 13:53:51 -07:00
.gitignore updated gitignore 2014-08-24 08:32:24 -04:00
Hello.elm simplified Hello 2014-09-22 22:38:45 -04:00
README.md

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

First make sure you have Elm Platform 0.13 or higher. The next step is to clone this repo:

git clone https://github.com/michaelbjames/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.