Skip to content

a react project based on umiJs, AntDesign.一个学习umi的项目(没钱买带宽,加载慢)

Notifications You must be signed in to change notification settings

feiaaa/a-umi-proj

Repository files navigation

Ant Design Pro

This project is initialized with Ant Design Pro. Follow is the quick guide for how to use.

Environment Prepare

Install node_modules:

npm install

or

yarn

Provided Scripts

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:

Start project

npm start

Build project

npm run build

Check code style

npm run lint

You can also use script to auto fix some lint error:

npm run lint:fix

Test code

npm test

More

You can view full document on our official website. And welcome any feedback in our github.

Menu 目录说明

  • echart图表 :引入echart组件,图表展示。antpro本体用的G2chart
  • 上传:使用了jszip,可在上传zip后解析文件目录;jq版本见 utils/read文件夹

Link

一文看懂 react hooks 获取zip包目录结构-jq版本 获取zip包目录结构-npm-jszip

pptx转json:pptx-parser 拼音的排序,检索,注音 生成pptx并下载:PptxGenJS

umijs插件-webpackChain 版本控制:https://www.npmjs.com/package/git-revision-webpack-plugin

echarts升级5.0之后 map的使用

tif 需要在webpack加loader,识别tiff utif how to remove locale warning rc-triger:手写弹窗

Notice

remove this for commit

//  "husky": {
//    "hooks": {
//      "pre-commit": "npm run lint-staged"
//    }
//  },

how to use plugins

see plugin.config.js

version-control

see config.js(headScript) and plugin.config.js

log

  • 2022-01-07 该项目已经升级到react 17,可以使用ts

About

a react project based on umiJs, AntDesign.一个学习umi的项目(没钱买带宽,加载慢)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages