example-spa-elm-app/README.md

25 lines
452 B
Markdown
Raw Normal View History

2024-12-29 02:09:53 +00:00
# About
2025-01-26 21:14:19 +00:00
Example demonstrating how one might architect a single page application
Elm app.
2024-12-29 02:09:53 +00:00
2025-01-28 11:33:47 +00:00
Licensed under GPLV3.
2025-01-03 13:29:56 +00:00
# Building
2024-12-29 02:09:53 +00:00
```bash
2025-01-28 11:28:49 +00:00
nix-shell
2025-01-03 13:29:56 +00:00
make serve RELEASE=1 # can also do DEBUG=1 instead
2024-12-29 02:09:53 +00:00
```
Now open `http://127.0.0.1:8080` in your browser.
2024-12-29 02:09:53 +00:00
2025-01-30 17:39:22 +00:00
# Elm application hot reloading
Hot reloading for Elm application is exposed at port `8000` under `DEBUG=1` mode.
`make serve DEBUG=1`
visit `localhost:8000`
2024-12-29 02:09:53 +00:00
# TODO
2025-01-30 17:39:22 +00:00
- [ ] Address compiler warnings.