Wygeneruj moduł z routingiem w kątowym
ng g m [ModuleName] --routing
Perfect Panther
ng g m [ModuleName] --routing
// Use this command to create a lazy-loaded feature module with routing, along with its stub component.
ng generate module <MODULE_NAME> --route <ROUTE> --module app.module
ng g module admin --routing
content_copy
ng generate module customers --route customers --module app.module