-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Glamor server side styles are not loaded #570
Comments
So Glamor server rendering is a bit tricky as you need to wrap the React rendering inside Glamor's function |
Awesome, can I already beta test Gatsby 1? |
👍 I forked the beta home page, to transition my site to 1.0. Works great, using the |
@jfrolich that'll work then :-) just be aware there's some major-ish changes still coming to 1.0 so upgrades might be a bit rough but you should be able to follow along via the CHANGELOG + seeing what I do to update the beta home page. |
When server rendering. Glamor styles seem not to be injected in the dom. Glamor has a section for server side rendering at https://github.com/threepointone/glamor/blob/master/docs/server.md.
However I cannot find how to apply this to gatsby, because it seems to use webpack for generating a static html file.
The text was updated successfully, but these errors were encountered: