child component in app component to be shown in specific components

前端 未结 0 1765
迷失自我
迷失自我 2021-02-14 04:43

I want to show a child component in specific components, and this child need to be in the app-component.html. how can I do that? I know it should be with a ngIf. thanks!

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