aurelia-direct-router v2.0.0-alpha.21.0
aurelia-direct-router
Installing
For the latest stable version:
npm i aurelia-direct-routerUsing
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.
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago