Figwheel + Re-Frame + Bidi + Pushy (HTML5 no-hash routing)
- Using re-frame-template
lein new re-frame my-app +routes +aliases
- https://github.com/Day8/re-frame-template dev-server/handler
by @mjg123 - bhauman/lein-figwheel#344 (comment)bidi
,pushy
No-hashes bidirectional routing by J. Pablo Fernández - https://pupeno.com/2015/08/26/no-hashes-bidirectional-routing-in-re-frame-with-bidi-and-pushy/
Thanks everyone!
Also checkout https://github.com/quangv/shadow-re-frame-simple-example which uses shadow-cljs whose dev server supports html5 routes by default.
A re-frame application designed to ... well, that part is up to you.
lein dev
Figwheel will automatically push cljs changes to the browser.
Wait a bit, then browse to http://localhost:3449.
To compile clojurescript to javascript:
lein build