Getting Started
router5 is available in all major formats: ES6, CommonJS, and UMD. It can be installed using npm or yarn. Alternatively, you can download a specific version from github.
Installation
Include router5 in your application
ES2015 syntax
CommonJS syntax
UMD
Various UMD bundles are accessible under /dist/umd
: you should use them for AMD or global. The router5 bundle contains all router5 dependencies (route-node and path-parser), but doesn't contain plugins.
Last updated