3.1.4 • Published 6 years ago

riot-route v3.1.4

Weekly downloads
5,245
License
MIT
Repository
github
Last release
6 years ago

Riot Router

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

Simple client-side 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

It started as a part of Riot.js, but now it becomes an independent library. It works with or without Riot.js.

Table of Contents

Install

We have 4 editions:

editiontargetfilevia
Standalone<script> tagdist/route.min.jsjsdelivr ⋅ Bower ⋅ download
AMDRequireJSdist/amd.route.min.jsjsdelivr ⋅ Bower ⋅ download
CommonJSBrowserify, webpackindex.jsnpm
ES moduleRolluplib/index.jsnpm

jsdelivr

<script src="https://cdn.jsdelivr.net/npm/riot-route@x.x.x/dist/route.min.js"></script>

Note: change the part x.x.x to the version numbers what you want to use: ex. 2.5.0 or 3.0.0.

npm

$ npm install --save riot-route

Bower

$ bower install --save riot-route

Download by yourself

Usage

See also riot.js.org.

Demos

Contribute

Feel free to dive in! Open an issue or submit PRs.

  • $ npm install to setup
  • $ npm run build to build it once
  • $ npm run watch to watch and build it continuously
  • $ npm test to test

License

MIT (c) Muut, Inc. and other contributors

3.1.4

6 years ago

3.1.3

6 years ago

3.1.2

7 years ago

3.1.1

7 years ago

3.1.0

7 years ago

3.0.2

7 years ago

3.0.1

7 years ago

3.0.0

7 years ago

2.5.0

8 years ago

2.4.0

8 years ago

2.3.16

8 years ago

2.3.15

8 years ago

2.3.14

8 years ago

2.3.13

8 years ago

2.3.12

8 years ago

2.3.11

8 years ago

2.3.1

8 years ago

2.3.1-beta

8 years ago

2.3.0

8 years ago

2.3.0-beta.5

9 years ago

2.3.0-beta.4

9 years ago

2.3.0-beta.3

9 years ago

2.3.0-beta.2

9 years ago

2.3.0-beta

9 years ago

2.0.0-beta.2

9 years ago

2.0.0-beta

9 years ago