Angular2 rc.4 lazy Routing已折旧.
Async Routing example@H_403_2@
rc.4是否有任何新的延迟路由/异步路由示例@H_403_2@
loadChildren应该这样做:
{ path: 'section',loadChildren: 'section-bundle' }
我不知道字符串到底应该指向什么.@H_403_2@
也可以看看@H_403_2@
> https://github.com/angular/angular/issues/9527#issuecomment-236038503
> https://github.com/angular/angular/issues/10577(使用Plunker)@H_403_2@
{ path: 'heroes',loadChildren: 'app/hero/hero.module' }