aurelia-direct-router
TypeScript icon, indicating that this package has built-in type declarations

2.0.0-alpha.21.0 • Public • Published

License: MIT TypeScript npm

aurelia-direct-router

Installing

For the latest stable version:

npm i aurelia-direct-router

Using

Once the Aurelia Direct Router is installed, simply import anything router related from aurelia-direct-router instead of from aurelia or @aurelia/router. So, for example, in your main.js/ts file

import Aurelia, { RouterConfiguration } from 'aurelia';

should be changed to

import Aurelia from 'aurelia';
import { RouterConfiguration } from 'aurelia-direct-router';

Note that while a lot of the API of the router shipping with Aurelia is a subset of the API of Aurelia Direct Router, there are some differences. Please consult the Aurelia Direct Router documentation for details.

Documentation

You can read the documentation on the Aurelia Direct Router here.

Readme

Keywords

Package Sidebar

Install

npm i aurelia-direct-router

Weekly Downloads

56

Version

2.0.0-alpha.21.0

License

MIT

Unpacked Size

2.78 MB

Total Files

170

Last publish

Collaborators

  • jwenzel