How to declare routes of feature module as children of another component?
I am refactoring my Angular App. My app-routing.module.ts has two main routes: const routes: Routes = [ {path: "login", component: LoginComponent, canActivate: [IsNotLoggedGuard]}, {path: "", component: MainComponent, canActivate: [AuthGuard],children: [ {path: "orders", component: OrderComponent, children:[…] ]}, ]; Now, I created a routing module for the newly created OrderModule // in order-routing.module.ts const routes = [… Read More How to declare routes of feature module as children of another component?