A playground for building create web apps – powered by Gleam!
❗️ This package relies on Gleam's JavaScript FFI and will not work if your are targeting Erlang.
If available on Hex, this package can be added to your Gleam project:
gleam add lustre
and its documentation can be found at https://hexdocs.pm/eval. You will also
need to install react
and react-dom
from npm:
npm i react react-dom
First, make sure you have both Gleam and Node.js installed, then:
npm i
npm start
This sets up chokidar
to watch our gleam source code and runs the compiler
whenever we make a change. It also starts a server that will serve the examples
located in test/examples/
.