Riot Router
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.
Documentation
See also riotjs.com:
Downloads
We have 3 editions:
- Standalone:
- AMD:
- for RequireJS
- amd.route.js
- amd.route.min.js
- CommonJS
- for Browserify, Webpack, ...etc
- download via npm
Installation
npm
$ npm install --save riot-route
Bower
$ bower install --save riot-route
Demos
Development
$ npm install
to setup$ make build
to build it once$ make watch
to watch and build it continuously$ npm test
to test