Does anyone have an example of MeteorJS with Angular4 and Lazy Loading?
If am combining the example of Quicks (https://github.com/ui-router/quickstart-ng2/tree/9cc51506819227981c7cdd3c4f4bd24f419a37c7).
I have everything working, but the lazy loading requires SystemJS and I am having trouble implementing it like in the QuickStart. The systemjs.config.js is niet included in the build so I am a bit confused what to do with it.
Is there a way to exclude having to use SystemJS?
In meteor you should be able to ignore the system js config completely and use dynamic import() instead!
Okay, that sounds good.
So may second questions, using UI-Router for Angular 4, is there an example how to do the lazy loading as done in the quickstart example I supplied?
Especially this file, https://github.com/ui-router/quickstart-ng2/blob/9cc51506819227981c7cdd3c4f4bd24f419a37c7/src/app.states.ts, where the BAZ route is using
loadNgModule which requires systemJs right now.
It would be cool doing this the Meteor way but I don’t know where to start.