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

Flash of Unstyled Content #20

Open
francisashley opened this issue Jul 6, 2024 · 6 comments
Open

Flash of Unstyled Content #20

francisashley opened this issue Jul 6, 2024 · 6 comments

Comments

@francisashley
Copy link

When running npm i && npm i dev, the package-lock.json updates and there is a FOUC after refreshing the page. The FOUC does not appear when running yarn && yarn dev.

@francisashley
Copy link
Author

Updating nuxt to the latest version (^3.12.3) fixed it for me. But this was only after updating some other packages. Getting a Cannot find module 'postcss-custom-properties' error when updating nuxt immediately.

@JavascriptMick
Copy link
Owner

hi @francisashley can you share if you updated nuxt in SupaNuxt to the newer version? did you have any issues?

@francisashley
Copy link
Author

@JavascriptMick Hey just cloned to reproduce and looks like updating nuxt (to 3.12.4) now fixes it 👍

Screenshot 2024-07-21 at 13 44 48

@francisashley
Copy link
Author

Before v after

Screen.Recording.2024-07-21.at.13.47.42.mov
Screen.Recording.2024-07-21.at.13.48.23.mov

@JavascriptMick
Copy link
Owner

@francisashley this is great! can I ask... when you upgraded Nuxt... did you need to do any other code alterations or was it enough jjust to upgrade the framework? I'm super busy, trying to figure out how much work it will be to upgrade.

@francisashley
Copy link
Author

Upgrading Nuxt to the latest (3.12.4) fixed it. No extra steps needed. I tried sending a PR but didn't have permissions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants