详解react-router4 异步加载路由两种方法 方法一:我们要借助bundle-loader来实现按需加载。首先,新建一个bundle.js文件:importReact,{Comp router异步路由