Skip to content

Re-Frame +routes using Bidi & pushy for no-hashes html5 routing

Notifications You must be signed in to change notification settings

quangv/re-frame-html5-routing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 - bhauman/lein-figwheel#344 (comment)
  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 whose dev server supports html5 routes by default.

A 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.

Production Build

To compile clojurescript to javascript:

lein build
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy