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

🐛[BUG] StyleProvider stylisPlugins 在nextjs中不生效 #132

Open
Ryuurock opened this issue Jan 2, 2024 · 0 comments
Open

🐛[BUG] StyleProvider stylisPlugins 在nextjs中不生效 #132

Ryuurock opened this issue Jan 2, 2024 · 0 comments

Comments

@Ryuurock
Copy link

Ryuurock commented Jan 2, 2024

🐛 bug 描述

RT

📷 复现步骤

🏞 期望结果

💻 复现代码

© 版本信息

  • antd-style 版本: [e.g. 1.0.0]
  • 浏览器环境
  • 开发环境 [e.g. mac OS]

🚑 其他信息

初步排查是因为emotion cache内部getServerStylisCache memo了,添加 prefix 后被调用了,但是最终产出的样式依然没有被插件修改. prefix也未生效
可以使用 插件 stylis-px2rem-plugin 进行测试

@Ryuurock Ryuurock changed the title 🐛[BUG] StyleProvider stylisPlugins 不生效 🐛[BUG] StyleProvider stylisPlugins 在nextjs中不生效 Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant