Component can not use Ionic html elements

I generated a custom component in my ionic 3 project. In component.html I can not use ionic element like .
error is ion-card is not known element. how Can I solve this? I dont get this error in another project.

1 Like

Do you use lazyLoading page?

Yes I solved it. I forgot to add IonicModule to components.module. thanks.

1 Like