The Riot Router is the minimal router implementation with such technologies:
- pushState and history API
- multiple routing groups
- replacable parser
- compatible with IE9 and higher
A part of Riot.js, but it also works without Riot.js.
See also riotjs.com:
We have 3 editions:
- Standalone:
- AMD:
- for RequireJS
- amd.route.js
- amd.route.min.js
- CommonJS
- for Browserify, Webpack, ...etc
- download via npm
$ npm install --save riot-route
$ bower install --save riot-route
$ npm install
to setup$ make build
to build it once$ make watch
to watch and build it continuously$ npm test
to test