angular2 rc.4 lazy routing depreciated.
is there new lazy routing / async routing example rc.4
loadchildren
supposed that:
{ path: 'section', loadchildren: 'section-bundle' }
i don't know string should point to.
see
- https://github.com/angular/angular/issues/9527#issuecomment-236038503
- https://github.com/angular/angular/issues/10577 (with plunker)
{ path: 'heroes', loadchildren: 'app/hero/hero.module' }
Comments
Post a Comment