This project is initialized with Ant Design Pro. Follow is the quick guide for how to use.
Install node_modules
:
npm install
or
yarn
Ant Design Pro provides some useful script to help you quick start and build with web project, code style check and test.
Scripts provided in package.json
. It's safe to modify or add additional script:
npm start
npm run build
npm run lint
You can also use script to auto fix some lint error:
npm run lint:fix
npm test
You can view full document on our official website. And welcome any feedback in our github.
- echart图表 :引入echart组件,图表展示。antpro本体用的G2chart
- 上传:使用了jszip,可在上传zip后解析文件目录;jq版本见 utils/read文件夹
一文看懂 react hooks 获取zip包目录结构-jq版本 获取zip包目录结构-npm-jszip
pptx转json:pptx-parser 拼音的排序,检索,注音 生成pptx并下载:PptxGenJS
umijs插件-webpackChain 版本控制:https://www.npmjs.com/package/git-revision-webpack-plugin
tif 需要在webpack加loader,识别tiff utif how to remove locale warning rc-triger:手写弹窗
remove this for commit
// "husky": {
// "hooks": {
// "pre-commit": "npm run lint-staged"
// }
// },
see plugin.config.js
see config.js(headScript) and plugin.config.js
- 2022-01-07 该项目已经升级到react 17,可以使用ts