/reason-tea-sam

SAM pattern implementation using the Elm architecture and written in ReasonML

Primary LanguageOCaml

Basic Reason Template

This is an experiment for SAM pattern on bucklescript-TEA, written in ReasonML.

Organisation

  • The reasonml code goes into src/*.re
  • The release folder contains an index.html and rollup bundles your js here in main.js

Getting started

  • copy or clone this repository
  • change the names in package.json
  • for consistency, also change the name in bsconfig.json
  • in the rollup.config.js you can change the name of the output, you also have to change this name in de index.html

Install

npm install

Build

npm run build

Watch

npm run watch

Credits