clj-commons / secretary

A client-side router for ClojureScript.
773 stars 64 forks source link

any way to build isomorphic routes? #71

Closed jdkealy closed 8 years ago

jdkealy commented 8 years ago

Can i have a link that goes to "/about" instead of "/#about"? I have all other elements of an isomorphic app up and running except this part.

jdkealy commented 8 years ago

Actually, to be clear, I'm not so concerned with the server-side routing issue, but more just concerned with navigating to "/about" and having secretary catch the event.

gf3 commented 8 years ago

@jdkealy yes this is possible via the HTML5 History API

gf3 commented 8 years ago

@jdkealy good example here → https://gist.github.com/city41/aab464ae6c112acecfe1