Hello.
I’ve installed GitHub - hsuanxyz/ion2-calendar: 📅 A date picker components for ionic2 /ionic3 / ionic4 and imported it on app.modules as described.
The problem is I’m only able to use component in the app/app.html file. If I try using it anywhere else, like in pages/*.html, the component selector tag is highlighted in red as an error and the message says:
[Angular]
‘ion-calendar’ is not a known element:If ‘ion-calendar’ is an Angular component, then verify that it is part of this module.
If ‘ion-calendar’ is a Web Component then add ‘CUSTOM_ELEMENTS_SCHEMA’ to the ‘@NgModule.schemas’ of this component to suppress this message.
-It works on app/app.html
-It doesn’t work anywhere else, even a test.html created in the app directory.
What has gone wrong and how can I fix it so i can use the component on my pages?
Thank you.