Skip to content

An example of Elm and Reason working together with bs-elm.

Notifications You must be signed in to change notification settings

jaredramirez/bs-elm-example

Repository files navigation

bs-elm example

Running the example

  • Make sure both Reason and Elm are installed
  • Clone this repository git clone https://github.com/jaredramirez/bs-elm-example.git
  • Go in the directory cd bs-elm-example
  • Install the dependencies with yarn install or npm install
  • Install the elm dependencies with elm install
  • In one tab, start bucklescript with yarn bsb:start or npm run bsb:start
  • In another tab, launch the dev server with yarn webpack:serve or npm run webpack:serve
  • Navigate to localhost:8080
  • Open the code and poke around!

Other things

  • Checkout an example using the parcel bundler here!
  • This example is pretty simple, but demonstrates mounting an Elm app in Reason, passing flags on the app instantiation, and interacting with ports. If there's other example you want (like an example of ports following the actor model?), let me know!

About

An example of Elm and Reason working together with bs-elm.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published