-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Doesn't work with astro #23
Comments
Maybe the vite plugins configuration needs to go in the vite block like this But I am now going to use vanilla extract since the table in the astro issue says that solid-styled cause FOUC |
Your setup for Astro is wrong, refer to here: https://github.com/lxsmnsyc/solid-styled/blob/main/examples/astro-demo/astro.config.mjs
A lot of CSS solutions with runtime suffers from this problem in Astro. Unless Astro provides a solution, FOUC remains a problem. |
@lxsmnsyc The solid-styled-components package has a extractCss function that can be used in an astro to render the styles to avoid the FOUC. There is |
@xypnox the problem I'm referring to specifically is cross-request pollution |
error :
configuration:
I tried this
also this
The text was updated successfully, but these errors were encountered: