Repo that demonstrates my issue: https://github.com/LloydVincent/lazyLoadTabs/commit/f803d94159276e559bf7e401b8ea91fde4a5be7f
What I’m trying to do is make an app that loads the a tabs page lazily, but without lazy loading the individual tabs (in the app I’m developing, I have some custom router-like behavior in place so I don’t want each tab change to affect the browser url/history).
In the code linked above, notice now I removed the module for the contact tab and just added the class into the TabsPage manually (the old non-lazy-loading way). This produces the error when the tab is clicked:
Error: Uncaught (in promise): Error: No component factory found for ContactPage. Did you add it to @NgModule.entryComponents?
Error: No component factory found for ContactPage. Did you add it to @NgModule.entryComponents?
(yes I did add it to the entry components for the tabs module)
Is this a limitation of the framework, or am I doing something wrong?