TeamMaestro / angular-native-seed

Build web apps and NativeScript applications from one codebase using the AngularCLI.
265 stars 71 forks source link

Allows for lazy-loading for NS, removes duplicate app module #2

Closed sean-perkins closed 7 years ago

sean-perkins commented 7 years ago

Out of the gate, NativeScript does not allow for:

loadChildren: '/app/feature.module.ts#FeatureModule'

This PR introduces the custom NSModuleFactoryLoader as well as removes the duplicate app module. I think we should keep the app.module.ts inside the nativescript folder and omit the duplicate .tns.ts version in the web side.