每个路由使用不同的chunk,没必要一次加载所以js
yarn add react-loadable -S
每个路由使用不同的chunk,没必要一次加载所以js
yarn add react-loadable -S
<!-- | |
* @Author: starkwang | |
* @Contact me: https://shudong.wang/about | |
* @Date: 2019-11-29 12:16:29 | |
* @LastEditors: starkwang | |
* @LastEditTime: 2019-11-29 12:17:19 | |
* @Description: 在nextjs项目里面配置px转rem插件:postcss-pxtorem | |
--> | |
 |