m3ng9i/ran

Support SPA with global redirect/rewrite

Opened this issue · 4 comments

ptone commented

For some JS frameworks all paths should be redirected to /

See #4 here
https://routify.now.sh/docs/install

I don't quite understand, could you explain it in more detail? Why all paths should be redirected to "/" ?

ptone commented

all the path elements beyond / are handled in the JS app - for example see https://github.com/BrewdHQ/sparge

I need time to think about that.

I did some modifications to support SPA, I'm using to run angular apps here is my fork
https://github.com/PMoneda/ran