Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

👑 className精准定位 #22

Closed
vscing opened this issue Feb 20, 2023 · 10 comments · Fixed by #64
Closed

👑 className精准定位 #22

vscing opened this issue Feb 20, 2023 · 10 comments · Fixed by #64

Comments

@vscing
Copy link

vscing commented Feb 20, 2023

🥰 需求描述

当我写完一个样式,我去dom节点查找的时候,无法精准的知道样式加在那个元素上了。全部都是class=“ant-css-XXXX”

@arvinxx
Copy link
Collaborator

arvinxx commented Feb 20, 2023

这个需要 babel 插件配合,现在还没做,但这个功能我们之前是有规划的,正式版发布前会准备好

@vscing
Copy link
Author

vscing commented Feb 21, 2023

babel 插件
正式版本什么时候发布啊?

@arvinxx
Copy link
Collaborator

arvinxx commented Feb 21, 2023

Beta半个月左右,rc再半个月左右。正式版差不多3月底

@chj-damon
Copy link

现在已经5月底了

@arvinxx
Copy link
Collaborator

arvinxx commented May 31, 2023

计划赶不上变化🤣 正式版已经发了。而且还有了less转cssinjs 的codemod,但这个还没实现

@arvinxx
Copy link
Collaborator

arvinxx commented Jun 6, 2023

@wjf40390
Copy link

其实我想要的是样式加在哪个元素上了,例如下面的代码,希望className包含layout或者container字样这样更加容易区分,插件提供的className 将会定位到对应的样式文件目录感觉没太大用处。
image

@chj-damon
Copy link

目前babel插件确实看不出来是哪个样式。

@github-actions
Copy link

github-actions bot commented Jul 1, 2023

🎉 This issue has been resolved in version 3.4.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link

github-actions bot commented Jul 1, 2023

🎉 This issue has been resolved in version 3.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants