How to use same path in loadChildren for Nativescript and Angular?
问题 I have a project using Angular and Nativescript, and we'd like to use the same routes. Here's how my routes look like: { path: '', component: BaseComponent }, { path: 'details', //loadChildren: '~/app/Routes/base/details/details.module#DetailsModule', loadChildren: './details/details.module#DetailsModule', } The commented one works on Nativescript, but not on Angular. The other one works on Angular but not on Nativescript. How can I use the same path to lazy load my module in Nativescript AND