-
Notifications
You must be signed in to change notification settings - Fork 153
Open
Description
I have a problem with routes with outlets inside a lazyloading module.
APP1Routing module:
const routes: Routes = [
{
path:'app1',
children:[
{path:'child',component:ChildComponent},
{path:'outlet',outlet:'example',component:OutletComponent},
{path:'lazy',
loadChildren:()=>import('./lazy/lazy.module').then(m => m.LazyModule)
},
]
},
{ path: '**', component: EmptyRouteComponent },
];
LazyModule routing:
const routes: Routes = [`
{
path:'',
component:LazyComponent,
children:[
{path:'child',component:ChildLazyComponent},
{path:'outlet',
outlet:'example',
component:OutletLazyComponent},
]
},
];
Console don't display errors or warnings.
Ps: I create one fork with the example (https://github.com/diogolPereira/coexisting-angular-microfrontends).
ehsan1517
Metadata
Metadata
Assignees
Labels
No labels