Skip to content

The TodoMVC app written in Elm using elm-ui package, nice example for beginners.

License

Notifications You must be signed in to change notification settings

tzemanovic/elm-ui-todomvc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TodoMVC in Elm - Try It!

This is a fork of the original TodoMVC that instead of elm/html and CSS relies on the mdgriffith/elm-ui package. All of the Elm code lives in src/Main.elm.

There also is a port handler set up in index.html to store the Elm application's state in localStorage on every update.

Build Instructions

Run the following command from the root of this project to build optimized output and compress using uglifyjs:

elm make src/Main.elm --optimize --output=elm.js
uglifyjs elm.js --compress 'pure_funcs="F2,F3,F4,F5,F6,F7,F8,F9,A2,A3,A4,A5,A6,A7,A8,A9",pure_getters,keep_fargs=false,unsafe_comps,unsafe' | uglifyjs --mangle --output=elm.min.js

Then open index.html in your browser!

Hacking

Install elm-live and run:

elm-live src/Main.elm --open -- --output=elm.min.js

About

The TodoMVC app written in Elm using elm-ui package, nice example for beginners.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Elm 97.6%
  • HTML 2.4%