Skip to content

pvhee/elm-architecture-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

How to create modular Elm code that scales nicely with your app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published