lightrouter icon indicating copy to clipboard operation
lightrouter copied to clipboard

Ultra lightweight javascript router

Results 6 lightrouter issues
Sort by recently updated
recently updated
newest added

I read the README, but I can't guess what a Router is (other than the hardware that decodes and splits ethernet signals).

Dear Gary, How to add routes with unmatch path state? So I can redirect to 404 page? Tq. Roy

It would be really nice to have an `initialize` method so we can call something before each route callback (repeating logic). Inspiration: http://backbonejs.org/#Router-constructor

I would like lightrouter to detect the page that a user is on and allow me to run certain code blocks, is it possible to make lightrouter prevent navigation to...