Flash of Unstyled Content
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.
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.
hi @francisashley can you share if you updated nuxt in SupaNuxt to the newer version? did you have any issues?
@JavascriptMick Hey just cloned to reproduce and looks like updating nuxt (to 3.12.4) now fixes it 👍
Before v after
https://github.com/user-attachments/assets/9ba3892a-d4d5-4708-a3cd-2fe65acccf32
https://github.com/user-attachments/assets/5aeb85c5-0e6e-488a-8424-c30f4bdce487
@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.
Upgrading Nuxt to the latest (3.12.4) fixed it. No extra steps needed. I tried sending a PR but didn't have permissions.