Angular2 RC 5. No component factory found for dynamically loaded components

前端 未结 5 526
慢半拍i
慢半拍i 2020-12-10 10:00

I\'m trying to update my dynamic component loader from RC4 to RC5 since the ComponentResolver is deprecated. I\'ve updated the loader to the following

@Compo         


        
5条回答
  •  轮回少年
    2020-12-10 10:47

    You need to import MatDialogModule in Module in order for it to know about the entryComponents there.

提交回复
热议问题