DEV Community

Discussion on: Manually Lazy load Components in Angular 8

Collapse
 
dileep3605 profile image
Dileep3605

am trying your solution everything was running but it's throwing error on this state

const compFactory = moduleRef.componentFactoryResolver.resolveComponentFactory(entryComponent);

Error: No component factory found for SiteedittoolModule. Did you add it to @NgModule.entryComponents?

if can anyone help me that will be great

Collapse
 
binarysort profile image
Mayank Dubey

Hi,

Can you share more code?

Some comments have been hidden by the post's author - find out more