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

前台通过 renderToString 渲染 html string 想拿到当面页面的所有样式比较困难 #185

Closed
iahu opened this issue Oct 31, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@iahu
Copy link

iahu commented Oct 31, 2019

如果想在浏览器端通过 renderToString 等方法渲染 HTML 字符串,想拿到当前页面的所有样式比较困难

  • 没有接口获取 critial.js 在全局注入的样式。
  • 当前页面所有引入的子组件所引入的样式,无法在最外层拿到
@Diablohu Diablohu added the enhancement New feature or request label Oct 31, 2019
Diablohu added a commit that referenced this issue Nov 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants