timlombardo / elm-architecture-tutorial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The Elm Architecture

The Elm Architecture is a simple pattern for infinitely nestable components.

This repo parallels The Elm Architecture tutorial, allowing you to follow along and compile things locally.

Run The Examples

Start by installing Elm and familiarizing yourself with the command line tools. Once that is done, run the following commands in your terminal to download this repo and start a server that compiles Elm for you:

git clone https://github.com/evancz/elm-architecture-tutorial.git
cd elm-architecture-tutorial
elm-reactor

Now go to http://localhost:8000/ and start looking at the examples/ directory.

When you edit an Elm file, just refresh the corresponding page in your browser and it will recompile. After you get comfortable with things in the examples/ directory, check out the nesting/ directory which has examples of snapping components together.

About

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Elm 100.0%