FOUC in NextJS using Tailwind Css

684 views Asked by At

I have a FOUC on the production page of a site I'm working on using NextJS and TailwindCSS. It exists in varying degrees across browsers, but it seems to be worst on Desktop Firefox. You can view it here: Bretton Does Nails

From what I've found I may be able to fix it by configuring a _document.js file, but I'm not sure how to set that up to work with Tailwind specifically.

Does anyone have any suggestions of how to fix this or resources I can check out to figure out how to try the custom document?

0

There are 0 answers