Would it be possible to bootstrap a fallback module on the .catch of the platformBrowserDynamic().bootstrapModule(), without running into this warning:"WARNING in Lazy routes discovery is not enabled. Because there is neither an entryModule nor a statically analyzable bootstrap code in the main file."
eg:
platformBrowserDynamic().bootstrapModule(ModuleX).catch(()=>{
return platformBrowserDynamic().bootstrapModule(ModuleY);
})
I can make the app work , however when compiling I get the error on this thread and the dynamic module resolution won't work (from experience in another app, not this example )
Documentation is unhelpful and still trying to work my way on source code, so Im reaching out for help. Any ideas are welcome
Btw, old angular had a really nice way of handling this...
--
You received this message because you are subscribed to a topic in the Google Groups "Angular and AngularJS discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/003xkKNAhIY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/angular/e7ebd55b-a341-431d-affc-8a664a087e85%40googlegroups.com.