ant-design / ant-design/pro-components

🧐[问题]pro组件生成的样式前面如何添加css的hash

Open
#8,783 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

### 🧐 问题描述

pro组件生成的样式前面如何添加css的hash,类似产物:where(.css-dev-only-do-not-override-vryruh).ant-btn-color-primary这种,目前官网示例中都没有hash,请问需要怎么配置才能实现。

### 💻 示例代码

### 🚑 其他信息

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the styling output described in the issue using the official Pro Components examples, then inspect how component styles and configuration are generated. The issue provides no example code or named files; done would mean identifying and documenting a configuration that adds the requested CSS hash.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.