@angular/router

provideRoutes

function
Deprecated

Registers a DI provider for a set of routes.

  
    provideRoutes(  routes: Routes): Provider[];
  
  
Jump to details