Ionic 3 deep-linking and lazy-loading at the same time
问题 According to what I've read in the documentation and forums, you enable deep-linking via : forRoot(appRoot, config, deepLinkConfig) @ngModule({ .. IonicModule.forRoot(MyApp, {}, { links:[{ component: ContactPage, name: "contact", segment: "contact"}, { component: HelloPage, name: "hello", segment: "hello" } ] }) ... }) ... This leads to adding ContactPage and HelloPage to declarations and entryComponents arrays within @ngModule , which would not be lazy-loaded. So, this leads to the question,