/route

Simple client-side router

Primary LanguageJavaScriptMIT LicenseMIT

Build Status Code Quality NPM version NPM downloads MIT License Coverage Status

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:

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