I have learnt that we can lazy load modules in an angular 2 application. But similarly is it possible to lazy load simply a component(instead of wrapping it in a module) : https://angular.io/docs/ts/latest/guide/ngmodule.html#!#lazy-load
Edit How to share resources like Components, Directives and Services between the main module and lazily loaded module?
不,仅支持模块延迟加载。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.