https://github.com/quangv/re-frame-html5-routing
Re-Frame +routes using Bidi & pushy for no-hashes html5 routing
https://github.com/quangv/re-frame-html5-routing
bidi boilerplate cljs clojure clojurescript example html5 html5-history pushy re-frame reagent router sample starter
Last synced: about 2 months ago
JSON representation
Re-Frame +routes using Bidi & pushy for no-hashes html5 routing
- Host: GitHub
- URL: https://github.com/quangv/re-frame-html5-routing
- Owner: quangv
- Created: 2018-03-21T04:46:55.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-14T20:43:32.000Z (over 7 years ago)
- Last Synced: 2025-07-12T07:32:19.298Z (3 months ago)
- Topics: bidi, boilerplate, cljs, clojure, clojurescript, example, html5, html5-history, pushy, re-frame, reagent, router, sample, starter
- Language: Clojure
- Size: 11.7 KB
- Stars: 15
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Re-frame Example/Starter
Figwheel + Re-Frame + Bidi + Pushy (HTML5 no-hash routing)
1. Using re-frame-template `lein new re-frame my-app +routes +aliases` - https://github.com/Day8/re-frame-template
2. `dev-server/handler` by @mjg123 - https://github.com/bhauman/lein-figwheel/issues/344#issuecomment-243922855
3. `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](https://github.com/thheller/shadow-cljs) whose dev server supports html5 routes by default.
A [re-frame](https://github.com/Day8/re-frame) application designed to ... well, that part is up to you.
## Development Mode
### Run application:
```
lein dev
```Figwheel will automatically push cljs changes to the browser.
Wait a bit, then browse to [http://localhost:3449](http://localhost:3449).
## Production Build
To compile clojurescript to javascript:
```
lein build
```