Skip to content

nx-js/route-middleware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Installation

npm install @nx-js/route-middleware

Usage

const component = require('@nx-js/core')
const route = require('@nx-js/route-middleware')

component()
  .use(route)
  .register('router-comp')
<router-comp>
  <div route="profile" default-route></div>
  <div route="settings"></div>
</router-comp>

About

An NX middleware, responsible for path routing.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published