A miso application for the Haskell miso book. Hosted at book.haskell-miso.org.
Tip
This requires installing nix with Nix Flakes enabled. Although not required, we recommend using miso's binary cache.
Call nix develop to enter a shell with GHC 9.12.2
$ nix develop .#wasm --experimental-features nix-commandOnce in the shell, you can call cabal run to start the development server and view the application at http://localhost:8080
$ nix develop .#wasm --command bash -c "make all"$ nix develop .#ghcjs --command bash -c "build"To host the built application you can call serve
$ nix develop .#wasm --command bash -c "serve"$ nix develop .#wasm --command bash -c "make clean"This comes with a GitHub action that builds and auto hosts the example.