vue中路由懒加载浅析 http://www.cnblogs.com/zhanyishu/p/6587571.html 懒加载主要分为两步: 1、webpack配置使它支持懒加载。 2、router层面异步的方式加载组件。