-
Notifications
You must be signed in to change notification settings - Fork 328
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
[样式打包问题] 通过less总入口打包样式缺失 #2822
Labels
to be published
fixed, not be published
Comments
👋 @amusitelang,感谢给 TDesign 提出了 issue。 |
NWYLZW
added a commit
to Tencent/tdesign-common
that referenced
this issue
Mar 29, 2024
16 tasks
NWYLZW
added a commit
to Tencent/tdesign-common
that referenced
this issue
Mar 29, 2024
uyarn
pushed a commit
to Tencent/tdesign-common
that referenced
this issue
Mar 29, 2024
* fix: less variable conflict Tencent/tdesign-react#2822 * fix: stylelint CssSyntaxError stylelint/stylelint#7584
16 tasks
fixed 1.6.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tdesign-react 版本
1.5.5
重现链接
No response
重现步骤
共有两处问题
问题一
less文件总入口文件不全,需要自行排查并补充:
问题二
Guide组件和Drawer组件的变量使用相同的公共变量,而其他文件并未使用这个公共变量,因此在打包过程中,Drawer的的前缀被Guide的前缀覆盖掉了,导致Drawer的样式丢失,
具体可查看图片:
期望结果
通过 less 总入口打包希望less文件齐全,其次Guide组件和Drawer组件的样式不互相覆盖
实际结果
为达到期望结果
框架版本
No response
浏览器版本
No response
系统版本
No response
Node版本
No response
补充说明
No response
The text was updated successfully, but these errors were encountered: