example-spa-elm-app/README.md

28 lines
616 B
Markdown
Raw Normal View History

2024-12-29 02:09:53 +00:00
# About
Example demonstrating how one might architect a single page application
Elm app.
# Dependencies MacOS
```bash
brew install node elm
npm install -g uglify-js@2.4.11
```
# Building
```
make serve
```
Now open `http://localhost:8000` in your browser.
# TODO
- [x] Add Makefile
2025-01-01 01:50:26 +00:00
- [ ] Add GPLV3 License
- [ ] Determine if `src/Body.elm` or pages in `src/Page` should have subscription functions
- [ ] use actix backend that maps most root requests to serve `actix_file::Files`
- [ ] Submit to slack for feedback...
2024-12-29 02:09:53 +00:00
- [ ] Refactor into router page
- [ ] Handle back-navigation
- [ ] Add `default.nix`