-
Notifications
You must be signed in to change notification settings - Fork 68
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
Global styles are not loaded after vercel deployment #24
Comments
UPDATE: I fixed it by moving the global & reset styles to the DefaultLayout. |
@mochetts Thanks for pointing this out. @levimykel It looks like global styles don't always work in https://stackoverflow.com/questions/57205809/style-global-jsx-doesnt-seem-to-be-applied Should we move the global styles to |
@samlfair It seems like the global styles need to be in |
I can confirm this after banging my head on the wall for hours yesterday with the Anyway, it looks like this has already been done, so I assume this can be closed? |
After deploying this app with vercel, global styles are not applied.
In my local
In vercel
Here's the vercel app URL: https://mochetts-prismic-blog.vercel.app/
What I found so far is that the global and reset styles are not added to the header when running the
next build
command.The text was updated successfully, but these errors were encountered: