diff --git a/templates/module/angular/projects/my-project-name/src/lib/my-project-name-routing.module.ts b/templates/module/angular/projects/my-project-name/src/lib/my-project-name-routing.module.ts index e698be1973..75934a9b70 100644 --- a/templates/module/angular/projects/my-project-name/src/lib/my-project-name-routing.module.ts +++ b/templates/module/angular/projects/my-project-name/src/lib/my-project-name-routing.module.ts @@ -7,7 +7,13 @@ const routes: Routes = [ { path: '', pathMatch: 'full', - component: MyProjectNameComponent, + component: DynamicLayoutComponent, + children: [ + { + path: '', + component: MyProjectNameComponent, + }, + ], }, ];