aavanzyl / ngx-tiny

Implementation of Light Weight Angular Components for Production Applications
https://aavanzyl.github.io/ngx-tiny
MIT License
7 stars 3 forks source link

'ngx-date-picker' is not a known element depending on starting page. #14

Open jonathan-chin opened 3 years ago

jonathan-chin commented 3 years ago

I have a multipage Ionic app. let's just call them page A and page B

page A imports a module that imports a few other packages, including ngx-date-picker. if I load the app starting on page A, everything works as expected.

page B doesn't load that module. if I load the app starting on page B then navigate to page A, it throws the following error: 'ngx-date-picker' is not a known element. it's funny because it doesn't complain about any of the other modules that page A loads that page B doesn't.

page A also imports ngx-time-picker but there are no errors on that (although, it might be halting execution after the date-picker error).

any thoughts on what is going on? any fixes beyond importing ngx-date-picker at the root?

aavanzyl commented 3 years ago

@jonathan-chin can you provide me with a code example