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

是否可以提供一种方式,将生成的style 添加到指定的位置中 #5893

Open
3 tasks done
jerry-f opened this issue Apr 23, 2024 · 1 comment
Open
3 tasks done
Labels
feature request New feature or request

Comments

@jerry-f
Copy link

jerry-f commented Apr 23, 2024

问题的清晰而简明的描述

因为我需要它来开发其他的内容, 我不希望它将style 生成在head 中,我只希望它生成到我指定的dom 中, 这对我很重要。因为inline 风格的样式,我可能没办法去控制样式的权重和样式污染。

建议的解决方案

可以在 NConfigProvider 提供一个函数,用于用户自定义生成style添加到哪里,

备选方案

No response

附加上下文

No response

验证

  • 阅读 贡献指南
  • 阅读 文档
  • 检查是否已经存在请求相同功能的问题,以避免创建重复的问题。
@jerry-f jerry-f added the feature request New feature or request label Apr 23, 2024
@jahnli
Copy link
Collaborator

jahnli commented May 6, 2024

image
不确定是否能解决你的问题

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

No branches or pull requests

2 participants