Do I need a Routing Module always?

Technology CommunityCategory: AngularDo I need a Routing Module always?
VietMX Staff asked 3 years ago

No, the Routing Module is a design choice. You can skip routing Module (for example, AppRoutingModule) when the configuration is simple and merge the routing configuration directly into the companion module (for example, AppModule). But it is recommended when the configuration is complex and includes specialized guard and resolver services.