Angular2 rc.4 lazy Routing is depreciated.
Async Routing example
is there any new lazy routing / async routing example for rc.4
loadChildren
is supposed to do that:
{
path: 'section',
loadChildren: 'section-bundle'
}
I don't know what exactly the string should point to.
See also
{ path: 'heroes', loadChildren: 'app/hero/hero.module' }
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With