首页 > 其他 > 详细

[Vue @Component] Load Vue Async Components

时间:2018-07-26 19:32:48      阅读:237      评论:0      收藏:0      [点我收藏+]

Vue provides a straight-forward syntax for loading components at runtime to help shave off initial bundle size. You simply define a function that returns an object with a component property pointing to a promise that loads a component, then Vue takes care of the rest for you.

 

https://vuejs.org/v2/guide/components-dynamic-async.html#Handling-Loading-State 

[Vue @Component] Load Vue Async Components

原文:https://www.cnblogs.com/Answer1215/p/9373746.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!