We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
可以协同tailwindcss来辅助td框架开发项目
增加类似小程序的externalClasses类,比如: 虽然 的class可以直接控制cell组件,但是cell的下级如titile,desc等无法直接控制,只能在css里写诸如「.t-cell .t-cell-title { ''' }」这样的,如果使用tailwind的话,可以直接在class定义原子类型来控制下级,就像小程序那样,t-class-title="text-red-600"就可以直接定义到title的class上了,而不用写到css上。
The text was updated successfully, but these errors were encountered:
👋 @deajax,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
Sorry, something went wrong.
@deajax 小程序和 vue 机器还是不一样的,小程序外部样式类是为了解决组件开启组件隔离后外部无法修改组件样式,而且是局部的。所以目前暂时不考虑加externalClasses属性,如果目标是修改组件下级样式,可以看一下深度选择器 :deep()。
No branches or pull requests
这个功能解决了什么问题
可以协同tailwindcss来辅助td框架开发项目
你建议的方案是什么
增加类似小程序的externalClasses类,比如:
虽然 的class可以直接控制cell组件,但是cell的下级如titile,desc等无法直接控制,只能在css里写诸如「.t-cell .t-cell-title { ''' }」这样的,如果使用tailwind的话,可以直接在class定义原子类型来控制下级,就像小程序那样,t-class-title="text-red-600"就可以直接定义到title的class上了,而不用写到css上。
The text was updated successfully, but these errors were encountered: