-
- [x] I have searched the [issues](https://github.com/ant-design/ant-design/issues) of this repository and believe that this is not a duplicate.
### Reproduction link
[![Edit on CodeSandbox](https…
-
# Bug report
## Describe the bug
I am using `antd` in my nextjs project. Importing the entire css bundle via `import 'antd/dist/antd.css'` works, however I would like to have modular imports to re…
-
![image](https://user-images.githubusercontent.com/7971419/104593034-0f890880-56aa-11eb-9311-6bf7bed0bc18.png)
![image](https://user-images.githubusercontent.com/7971419/104593068-1adc3400-56aa-11eb-…
-
### 前言
[上一篇](https://github.com/huangshuwei/blog/issues/39)介绍了使用` electron-react-boilerplate`模板基本的样式使用问题。现在咱们看下项目中使用了 `ant.design` 如何进行主题定制
> 这个问题本质是如何引入 `less`文件,具体看下文
### ant.design 主题定制方式
这是[…
-
https://github.com/ant-design/ant-design/blob/master/components/input-number/style/index.less
@input-number-prefix-cls: ~'@{ant-prefix}-input-number';
@form-item-prefix-cls: ~'@{ant-prefix}-form-i…
-
## 全量导入
组件数轻松上20, 我已经没有耐心使用按需导入了。
暴力 `import Antd from "ant-design-vue"` 提示Antd找不到~, 解决办法: 把babel.config.js中的下面这段删除,
```js
plugins: [
[
"import",
{
libraryName: …
-
I tried to change the @ant-prefix variable but it failed.
Below is my code.
```
//vars.less
@import './default.less';
@blue: @blue-base;
@purple: @purple-base;
@cyan: @cyan-base;
@green: @gr…
-
my code is as follows
config-overrides.js
```
const { override, fixBabelImports, addLessLoader } = require('customize-cra');
module.exports = override(
fixBabelImports('import', {
libr…
-
I got plenty projects that need a dashboard, benchhub https://github.com/benchhub/benchhub/issues/6 https://github.com/benchhub/benchboard/issues/1, xephon-*, go.ice, ayi and I need to manually update…
-
我运行从官网下载下来的基于antd的模板代码, 在控制台中发现应用了两份样式. 调试发现, 一份样式是 global.css 引入的样式(被覆盖), 一份可能是 vite 按需加载的.
如果vite按需加载的代码或者其他原因导致的样式覆盖, 我要怎么才能去掉它?
![image](https://user-images.githubusercontent.com/2743536/141…