Skip to content

Minimal, standalone, basic examples of Elm web application concepts

Notifications You must be signed in to change notification settings

axelerator/elm-nano-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

In this repository I keep a list of examples of common constructs in Elm. These examples are stripped down to their bare minimum.

The reason behind that is, that some of the examples from the offical guide are a bit tricky to get running. When a chapter is embedded in other chapters the code is sometimes mixed with other aspects, and when you're trying to use the example code it's not entirely clear which parts to take.

The examples are completely self sufficient and only rely on the elm executable. To run an example change to the respective subfolder and:

$ elm make src/Main.elm --output=elm.js

Then open the index.html in that folder.

List of examples

  • Incoming ports - How to send information from JavaScript to Elm
  • Outgoing ports - How to send information from Elm to JavaScript
  • Component - How to encapsulate UI functionality into reusable components

About

Minimal, standalone, basic examples of Elm web application concepts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published