摘要: react 路由组件懒加载 1 主要依赖插件: react-loadable : npm i react-loadable antd : npm i antd 2 配置文件: 新建 loadable.js import React from 'react'; //react 版本17》生命周期名称改 阅读全文
posted @ 2020-09-14 15:17 星涑 阅读(1627) 评论(0) 推荐(1) 编辑