docs: add tailwindcss faq (#39041)

This commit is contained in:
二货爱吃白萝卜 2022-11-28 14:19:15 +08:00 committed by GitHub
parent 5962df6270
commit 94049f1406
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -187,6 +187,10 @@ For historical reasons, the display names of the pop components are not uniform,
Please ref dynamic theme document [Compatible Adjustment](/docs/react/customize-theme#compatible-adjustment) part.
## CSS-in-JS css priority conflict with tailwindcss?
Same as above. You can adjust antd css priority to override. Related issue: [#38794](https://github.com/ant-design/ant-design/issues/38794)
## How to support SSR
Please ref dynamic theme document [SSR](/docs/react/customize-theme#server-side-render-ssr) part.

View File

@ -208,6 +208,10 @@ ConfigProvider.config({
请参考动态主题文档 [兼容性调整](/docs/react/customize-theme-cn#兼容性调整) 部分内容。
## CSS-in-JS 与 tailwindcss 优先级冲突?
同上,你可以调整 antd 样式优先级以覆盖。相关 issue: [#38794](https://github.com/ant-design/ant-design/issues/38794)
## 如何支持 SSR
请参考动态主题文档 [服务端渲染](/docs/react/customize-theme-cn#服务端渲染) 部分内容。