-
### 🐛 bug 描述
"@ant-design/pro-components": "2.6.42",
"antd": "4.24.15",
当@ant-design/pro-components版本大于^2.6.42的时候("例如2.6.44、2.6.46"),build会出现如下报错:
```
[4/4] 🔨 Building fresh packag…
-
问题: next.js 引入 antd 报错 SyntaxError:无法在模块外使用导入语句
代码:
`
pagejson版本
{"name": "next-app","版本": "0.1.0",“私人”:真的,"类型": "模块","脚本": {"dev": "下一个dev","构建": "下一个构建","开始": "下一个开始","lint": "下一个lint"},"依赖性":…
-
### 🐛 bug 描述
复制官网案例,啥也没改,运行报错:TypeError: Cannot read properties of undefined (reading 'Group')
### 📷 复现步骤
版本信息:
"dependencies": {
"@ant-design/cssinjs": "^1.21.0",
"@…
-
# antd安装启动后报错`Variable @primary-color-hover is undefined`
报错前package.json中依赖版本信息:
```
"dependencies": {
...
"@ant-design/pro-form": "^1.15.1",
"@ant-design/pro-layout": "^6.15.0"…
xccjk updated
9 months ago
-
提问前先看看:
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md
### 🐛 bug 描述
I created a react project using Vite and copied the demo code from the official we…
-
提问前先看看:
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md
### 🐛 bug 描述
使用 `vite` 打包时产生零循环依赖警告, 警告信息如下:
```
Export "ProForm" of module "node_modules/.…
-
Failed to compile.
./node_modules/@ant-design/pro-form/es/components/FormItemRender/index.d.ts:24:41
Type error: Type parameter declaration expected.
22 | }[]> = T[number]['name'];
23 | export…
-
### 🐛 bug 描述
报错
(node:29488) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was crea…
PeiJM updated
1 month ago
-
I clone `antd` and try to modify some component
Then, I found `antd` require `antd-pro-merge-less`
`antd-pro-merge-less` require `@ant-design/dark-theme`, and then `@ant-design/dark-theme` requir…
-
### 🥰 需求描述
希望像antd一样,支持国际化、多语言