https://github.com/nx-js/route-middleware
An NX middleware, responsible for path routing.
https://github.com/nx-js/route-middleware
Last synced: about 1 month ago
JSON representation
An NX middleware, responsible for path routing.
- Host: GitHub
- URL: https://github.com/nx-js/route-middleware
- Owner: nx-js
- License: mit
- Created: 2016-12-31T10:53:05.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-10T19:07:15.000Z (almost 9 years ago)
- Last Synced: 2025-02-04T19:48:56.589Z (10 months ago)
- Language: JavaScript
- Homepage: http://www.nx-framework.com/
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# The route middleware
The `route` middleware is responsible for client-side routing.
- name: route
- direct middleware dependencies: none
- all middleware dependencies: none
- type: component middleware
- [docs](http://nx-framework.com/docs/middlewares/route)
## Installation
`npm install @nx-js/route-middleware`
## Usage
```js
const component = require('@nx-js/core')
const route = require('@nx-js/route-middleware')
component()
.use(route)
.register('router-comp')
```
```html
```