we have some modules published as package, and in this project we need to lazy load the module
if the module in the target project, it's ok , like :
export const routes: Routes = [
{ path: '', redirectTo: 'test01', pathMatch: 'full'},
{ path: 'test01', loadChildren: 'app/testing01/test01.module' },
]
but, how can i load modules from package , like this:
{ path: 'test01', loadChildren: '@xxx/testing01/test01.module' },
i am using
"angular-cli": "1.0.0-beta.15",
@angular 2.0.0
thank you and being in touch
we have some modules published as package, and in this project we need to lazy load the module
if the module in the target project, it's ok , like :
export const routes: Routes = [
{ path: '', redirectTo: 'test01', pathMatch: 'full'},
{ path: 'test01', loadChildren: 'app/testing01/test01.module' },
]
but, how can i load modules from package , like this:
{ path: 'test01', loadChildren: '@xxx/testing01/test01.module' },
i am using
"angular-cli": "1.0.0-beta.15",
@angular 2.0.0
thank you and being in touch