ant-design-pro
ant-design-pro copied to clipboard
👨🏻💻👩🏻💻 Use Ant Design like a Pro!
### 🧐 问题描述 | Problem description ### 💻 示例代码 | Sample code ### 🚑 其他信息 | Other information OS: Node: 浏览器 | browser:
The {children} property always returns undefined even though I'm trying the same thing as written here. https://pro.ant.design/docs/layout#nested-layout ``` { exact: false, path: '/settings', component: './Settings/index', // my nested layout page...
我在requestErrorConfig.ts中使用const intl = useIntl(); 编辑器提示我React Hook "useIntl" cannot be called at the top level. React Hooks must be called in a React function component or a custom React Hook function....
### 🐛 bug 描述 通过最新的pro-cli创建脚手架,选择simple,生成的工程,通过npm安装后,无任何问题,然后npm run dev,生成src/.umi目录后,src下部分文件比如src/Admin.tsx里部分import提示错误,删除后重新打开工程,则问题消失。而通过pnpm安装,则不会有这个问题。 ### 📷 复现步骤 | Recurrence steps 1、 npm i @ant-design/pro-cli -g pro create myapp cd myapp npm install npm run dev 问题出现 rm...
### 🧐 问题描述 | Problem description 自定义了布局,但是还走了app.tsx里面childrenRender ### 💻 示例代码 | Sample code { path: "/object/:id", component: '../layouts', layout: false, routes: [ { path: '/object/:id', icon: 'layout', layout: false, component:...
### 🐛 bug 描述 navTheme=realDark 左侧菜单多的时候出的滚动条样式是白色的 ### © 版本信息 - pro-components 版本: [2.7.10] ### 🚑 其他信息  
### 🧐 问题描述 | 现在脚架无法安装完整示例包了 npm run site 这个指令无法使用了,并且我的模板创建时也报错。 ### 🚑 其他信息 | Other information  OS: Node:16.8、16.20.12、18.0都不行 浏览器 | browser:
问题已解决,感谢二楼的大佬! ### 没修改任何东西,项目跑不起来 我直接 git clone https://github.com/ant-design/ant-design-pro.git 项目到本地,然后 tyarn 安装依赖,然后 tyarn start 启动项目,然后打开浏览器,项目没有启动  OS: Windows11 Node:20 浏览器 | browser:Edge
### 🧐 问题描述 | Problem description 在Deepin V23系统下, 从官网安装的Ant design pro示例,使用的npm i安装的依赖, 然后启动报权限错误, 使用sudo npm start启动正常; npm start 启动报错: "Error: EACCES: permission denied, open '/.config/postcssrc'" > 在Ubuntu 24.04 LTS系统下,即使用普通用户也可以正常启动; 看来跟系统有关?...
Bumps [eslint](https://github.com/eslint/eslint) from 8.57.1 to 9.12.0. Release notes Sourced from eslint's releases. v9.12.0 Features 5a6a053 feat: update to jiti v2 (#18954) (Arya Emami) 17a07fb feat: Hooks for test cases (RuleTester)...