Releases: ant-design/ant-design-pro
v6.0.0-beta.1
- support umi@4
ๅ็บงๅฐ umi@4
ๅฎ่ฃ
yarn add @umijs/max
ๅๆถๅ ้คไปฅไธ็ไพ่ต
"@umijs/plugin-blocks": "^2.2.0",
"@umijs/plugin-esbuild": "^1.4.0",
"@umijs/plugin-openapi": "^1.3.0",
"@umijs/preset-ant-design-pro": "^1.3.0",
"@umijs/preset-dumi": "^1.1.0",
"@umijs/preset-react": "^2.1.0",
ไฟฎๆน "postinstall": "max setup",
ๅ ้ค config/config.dev.ts
ไฟฎๆน fastRefresh: true
ๅ ้ค dva ็้ ็ฝฎ
dva: {
ย ย hmr: true,
ย },
ๅ ้ค config ไธญ dynamicImport, esbuild, openAPI, nodeModulesTransform, exportStatic
็้
็ฝฎใ
ไฝฟ็จย maxย ๅฝไปคๆฅๆฟๆขย umi๏ผmax dev๏ผmax build
็ญใ
umi dev -> max dev
umi build -> max build
umi openapi -> max openapi
ๅฐ from 'umi';
ไฟฎๆนไธบ from '@umijs/max';
๏ผ่ฏฆ็ป่ฟไธชdiff
ๅ ้ค lint:style
๏ผstylelint ้่ฆ็่ถๆฅ่ถๅฐไบ
ๅ ้ค็ๅ่ฝ
- ๅบๅๅ่ฝ
- ๅ ้คๅฏน IE ็ๆฏๆ๏ผๅฆๆๅฏน IE ๆ้ๆฑ๏ผ่ฏทไฝฟ็จๆง็ๆฌ๏ผ๏ผreact๏ผantd ้ฝๅฐไธๆฏๆ็ ie11๏ผ
ๆฐๅปบ umi@4 ๆ umi@3 ้กน็ฎ
npm I @ant-design/pro-cli -g
็ถๅไฝฟ็จ pro create demo
้ๆฉumi@4 ๆๆถไธ่ฝไฝฟ็จๅ จ้จๅบๅ
ๆฅ็ demo ๆไปถๅคนๅณๅฏใ
ไฝฟ็จๅ จ้็block
้ๆฉ umi@3 ๅ complete
v5.2.0
๐ท UI: alway set theme
v5.1.0
v5.0.0
4.5.0
โจ feat: add react-dev-inspector plugins
โก๏ธ performance
โก๏ธ performance: open esbuild
v4.3.0: ๐ฅ feat: @umijs/route-utils replace getAuthorityFromRouter (#7319)
feat: @umijs/route-utils replace getAuthorityFromRouter
v4.2.1: ๐ฅ feat: add pro-descriptions demos (#7200)
๐ฅ feat: add pro-descriptions demos (#7200)
v4.2.0
Ant Design Pro v4 is Here
Release Log