Holly
Results
2
comments of
Holly
Try this. Load **ModuleFactory** and **Reset router config**. ``` const routerConfig = this.router.config; this.pluginLoader.load('plugin').then(moduleFactory => { routerConfig[0].children.push({ path: 'test', loadChildren: () => moduleFactory }); this.router.resetConfig(routerConfig); }); ``` Hope this helpful.
Facing in same error. It looks like Ivy's problem. Try to setting `tsconfig.json`. ```json "angularCompilerOptions": { "enableIvy": false, } ```