Import components to AppRoutingModule
Import routing libraries to AppRoutingModule
Create routes
- Define "Routes" array
Add routing module to AppModule
- Alternatively, add routing module using the CLI with the
--routing
flag
Import components to AppRoutingModule
Import routing libraries to AppRoutingModule
Create routes
Add routing module to AppModule
--routing
flag