0

I am trying to create a generic code for dynamic component loading. I have implemented parent child relationship. In it, child is overriding parent and will be used to dynamically load components.Below is the link I followed -

dynamic component loading

I made changes in it and now it looks something like below link -

Updated with my changes

Somehow it is not working and doesn't load changes. What am i missing here.

georgeawg
  • 48,608
  • 13
  • 72
  • 95
Narendra Pandey
  • 514
  • 4
  • 11
  • 26

1 Answers1

0

I fixed the above issue by adding below lines in my module.ts -

 entryComponents: [
    Child1, Child2
]
Narendra Pandey
  • 514
  • 4
  • 11
  • 26