JavascriptMick / supanuxt-saas

Simple boilerplate for SAAS. Nuxt3, Supabase, OAuth, Prisma, TRPC, Pinia, Stripe, Tailwind, OpenAI
https://nuxt3-saas-boilerplate.netlify.app/
MIT License
366 stars 49 forks source link

Flash of Unstyled Content #20

Open francisashley opened 3 weeks ago

francisashley commented 3 weeks ago

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 commented 3 weeks ago

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 commented 1 week ago

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

francisashley commented 1 week ago

@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 commented 1 week ago

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