reflex stone
1.0.0
Like Obelisk, but for static sites.
Goal: be a ready-to-use template repo for writing Reflex apps to be used in statically generated websites (no backend).
Unless you enjoy compiling for hours at end, you should use the reflex-platform Nix cache by following the instructions here.
Running locally using GHC and jsaddle-warp:
nix-shell --run 'ghcid -T :main'
# Or, to run with a custom port
nix-shell --run 'JSADDLE_WARP_PORT=8080 ghcid -T :main'
Build JS using GHCJS:
nix-build
open ./result/index.html
Initial inspiration came from this blog post.