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
Based on the readme, you should use import { getStyleTag } from '@beamwind/ssr' to implement SSR.
import { getStyleTag } from '@beamwind/ssr'
The package doesn't seem to exist, though, and that's the only reference to getStyleTag within the repository if I understand correctly.
getStyleTag
The text was updated successfully, but these errors were encountered:
You are right. @beamwind/ssr does not exist at the moment. Below is a outline how it should/will be implemented:
function getStyleTag(injector) { return `<style id="__beamwind">${injector.target.join('\n')}</style>` }
The idea is that @beamwind/ssr would optimize the styles instead of simply joining them (see 455ccf1).
I hope that helps. Let me know if you need more details.
Sorry, something went wrong.
@sastan Awesome, thanks. That makes sense. I'll go along this way then. Feel free to close this issue once you have the helper in the package. 👍
I see you fixed this in f400cb3 so let's close.
No branches or pull requests
Based on the readme, you should use
import { getStyleTag } from '@beamwind/ssr'
to implement SSR.The package doesn't seem to exist, though, and that's the only reference to
getStyleTag
within the repository if I understand correctly.The text was updated successfully, but these errors were encountered: