ant-design-pro
ant-design-pro copied to clipboard
๐ [BUG] Ant Design Pro 6 with Umi4 complete way to access browser failed
๐ bug ๆ่ฟฐ
Using the ant-design-pro pro-cli tool to generate a complete project exception, the page cannot be accessed through the browser
๐ท ๅค็ฐๆญฅ้ชค | Recurrence steps
npm i @ant-design/pro-cli -g
DEBUG=pro-cli pro create myapp # ่ฆๅ
จ้็่ฟๆฏไธไธช็ฎๅ็่ๆๆถ? complete
npm install yarn tyarn -g
cd myapp && tyarn
npm run dev
๐ ๆๆ็ปๆ | Expected results
Display the expected login page of ant-design-pro
๐ป ๅค็ฐไปฃ็ | Recurrence code
src/.umi-test/core/route.tsx src/.umi/core/route.tsx
"6": {"path": "/*", "parentId": "1", "id": "6"},
"45": {"path": "/*", "parentId": "ant-design-pro-layout", "id": "45"},
Temporary fix
"6": {"path": "*", "parentId": "1", "id": "6"},
"45": {"path": "*", "parentId": "ant-design-pro-layout", "id": "45"},
ยฉ ็ๆฌไฟกๆฏ
- Ant Design Pro ็ๆฌ: [email protected]
- umi ็ๆฌ v4.2.8
- ๆต่งๅจ็ฏๅข Version 125.0.6422.141 (Official Build) (64-bit)
- ๅผๅ็ฏๅข Ubuntu 22.04
- node v20.14.0
๐ ๅ ถไปไฟกๆฏ
After fix