This section is purely an exercise to demonstrate how the concepts we have learned so far in importing and registering routes doesn't result in a scalable solution, regardless of eagerly or lazily loading components:
- Import the manager.module to app.module:
src/app/app.module.ts import { ManagerModule } from './manager/manager.module' ... imports: [ ... ManagerModule, ]
You will note that http://localhost:5000/manager still doesn't render its home component.
- Use Augury to debug the router state, as shown:
- It seems as if the /manager path is correctly registered and pointed at the correct component, ...