A tutorial on developing single page web applications with Elm.
This is a guide for learning to develop single page applications (SPAs) in Elm. This guide will cover:
- Some Elm foundations
- Understanding signals in Elm
- Understanding the Elm architecture
- Breaking an application in sub components
- Integrating CSS
- Fetching and parsing JSON
- Routing
- Testing
Read it online here.
Code for the examples can be found at https://github.com/sporto/elm-tutorial-assets.
Code for the example application built in the second part of the guide can be found at https://github.com/sporto/elm-tutorial-app.
Please open issues and send PRs at https://github.com/sporto/elm-tutorial.
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>