I have a repo with three folder : 2 ionic apps and a common module. The goal of this common module is to provide common information for the two ionic projects (the module contains providers, component, models, pages, …).
But when you try to lazy load a page from the module, it doesn’t work (“core.js:1350 ERROR Error: Uncaught (in promise): invalid link: MyPage”).
Is it possible that Ionic doesn’t “see” the IonicPage() annotation because this annotation isn’t in the src folder ? If true, is it possible to extends the watcher to another folder so Ionic can recognize the annotation ?
ionic (Ionic CLI) : 4.11.0 (C:\Users\stephane.hiller\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.1.0
System:
NodeJS : v8.9.4 (C:\Program Files\nodejs\node.exe)
npm : 5.6.0
OS : Windows 7
ps: my current ionic version is 4.11, but it’s an Ionic v3 application.
ps 2 : I’ve open an issue on ionic github : https://github.com/ionic-team/ionic-v3/issues/983