Angular 7 router '**' wildcard with lazy load module and child routes not working?
问题 I'm trying to create a default route using the wildcard '**' from Angular's router. That default route will load a lazy module and then it will have to solve its own routes. The problem is that when I have the following configuration it does not resolve as expected: export const routes = [ { path: '', component: 'DashboardComponent' }, { path: '**', loadChildren: './lazy/lazy.module#LazyModule' } ]; @NgModule({ imports: [ BrowserModule, RouterModule.forRoot(routes) ], declarations: