- Visit their site
- Check examples!
- Install elm
- Install elm-live. It will re-build
.elm
files on changes.npm install --global elm elm-live@next
- Clone this repository.
git clone https://github.com/br4ch1st0chr0n3/elm-graph-editor
- Go to the project's root folder.
cd elm-graph-editor
- Start
elm-live
. IDK why it works only with--o
, not--open
.elm-live src/Main.elm --start-page=src/index.html --open -- --o=src/Main.js
- After changes in
src/index.html
, reload the page in your browser.
- Make sure that your
main
Elm function is atsrc/Main.elm
. This is needed for the commandelm make src/Main.elm --output src/Main.js
in.github/workflows/main.yml
to work. You will add thismain.yml
on the next step. - Create a new workflow. Instead of
github-actions-demo.yml
, use the file.github/workflows/main.yml
from this repo. - Then go to Settings -> Pages -> Source -> Branch:
gh-pages
-> Click Save. - Now, if you see Your site is published at link, click this link.
- A much more superior editor