0 votes
in Angular by
What do you understand by the router imports?

1 Answer

0 votes
by

The Angular Router, representing a particular component view for a given URL, is not part of Angular Core. It is available in a library named @angular/router, and we have to import the required router components. This process is called router imports.

See the following example of how we can import them in the app module:

  1. import { RouterModule, Routes } from '@angular/router';  

Related questions

0 votes
asked Jun 6, 2022 in Angular by john ganales
0 votes
asked Jun 4, 2022 in Angular by sharadyadav1986
...