Component can not use Ionic html elements


#1

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.


#2

Do you use lazyLoading page?


#3

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