My angular2-baidu-map also has similar Loading, but in order not to affect the download of the "super large ng2 bundle" later, my Loading is a small independent component splash-screen. You can try it out with it
Added:
You wrote ng2-admin的做法我看了,和我的思路一样。也是独立组件,不是ng2写的。这确实更合理。如果也拿ng2, then loading the Loading itself will take time, what’s the point?^^
My angular2-baidu-map also has similar Loading, but in order not to affect the download of the "super large ng2 bundle" later, my Loading is a small independent component splash-screen. You can try it out with it
Added:
You wrote
ng2-admin
的做法我看了,和我的思路一样。也是独立组件,不是ng2
写的。这确实更合理。如果也拿ng2
, then loading the Loading itself will take time, what’s the point?^^