axios :https://github.com/axios/axios fetch:https://github.com/github/fetch
安装:npm install bootstrap@3
开发文档:https://v3.bootcss.com/css/#images
安装:npm install react-router-dom
开发文档:https://reacttraining.com/react-router/web/guides/quick-start
安装:cnpm i react-infinite-scroller -S 开发文档: https://www.npmjs.com/package/react-infinite-scroller
安装:cnpm i react-lazyload -S 开发文档:https://www.npmjs.com/package/react-lazy-load
安装: cnpm i react-player -S 开发文档:https://www.npmjs.com/package/react-player
安装:cnpm i react-transition-group -S 开发文档:https://www.npmjs.com/package/react-transition-group
安装:cnpm i swiper -S 开发文档: https://www.swiper.com.cn/api/index.html
三个参数 action number callback
<PicturesWallItem action={'url路径'} number={1} callback = { this.callback.bind(this)}></PicturesWallItem>
- style:图片及样式
- modules:页面模块
- utils:工具类
- components:封装组件
- configs:配置
- model:实体类
参考文档:Antd按需加载说明文档
npm install --save react-app-rewire-less