'router-outlet' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message

前端 未结 0 1055
被撕碎了的回忆
被撕碎了的回忆 2021-01-02 15:20

app.module.ts As you can see that I am lazy loading the MainModule so I have added CUSTOM_ELEMENTS_SCHEMA and imported MainModule also. Added RouterModule.f

相关标签:
回答
  • 消灭零回复
提交回复
热议问题