Closed mattae closed 5 years ago
When provided example is run with angular 7, dynamic module path seems to be corrupt, such that the actual module path is missing in _loadedConfig in its router config; it contains every other path present before the module path is activate
loadedConfig: LoadedRouterConfig module: NgModuleRef {_moduleType: ƒ, parent: NgModuleRef, _bootstrapComponents: Array(0), _def: {…}, _destroyListeners: Array(0), …} routes: Array(2) 0: {path: "", redirectTo: "dashboard", pathMatch: "full"} 1: {path: "dashboard", component: ƒ}
When provided example is run with angular 7, dynamic module path seems to be corrupt, such that the actual module path is missing in _loadedConfig in its router config; it contains every other path present before the module path is activate
loadedConfig: LoadedRouterConfig module: NgModuleRef {_moduleType: ƒ, parent: NgModuleRef, _bootstrapComponents: Array(0), _def: {…}, _destroyListeners: Array(0), …} routes: Array(2) 0: {path: "", redirectTo: "dashboard", pathMatch: "full"} 1: {path: "dashboard", component: ƒ}