Const
Add a route or merge another router. This is polymorphic - accepts both Route and Router.
const router = Router.empty.pipe( Router.concat(HomeRoute), Router.concat(UserRoute), Router.concat(adminRouter),); Copy
const router = Router.empty.pipe( Router.concat(HomeRoute), Router.concat(UserRoute), Router.concat(adminRouter),);
Add a route or merge another router. This is polymorphic - accepts both Route and Router.