Elm modules commonly used at BDT
Examples can be viewed on github pages: https://bluedogtraining.github.io/bdt-elm/
The folder structure is pretty simple:
./src: The library itself. It contains an elm.json file with type
./demo: The Elm source for the demo shown above. It contains an elm.json file type
./docs: The folder used by github pages. It contains an
index.htmlfile which pulls in the compiled demo in the
./tests: The tests of the library. Run
elm-testfrom the root directory.
./public: A simple symlink to docs. Its where most servers (including our dev server) are looking for your public files. Just a convenience symlink really.
In order to compile the demo, navigate to
./demo and run
Any changes to the demo will trigger the compiler to re-run.
Any changes to the library itself will not be detected and you'll have to stop the
./live command and re-start it. @todo: Auto detect these changes.