[SOLVED] Next.js with Tailwind Refreshes Slow

Issue

I experienced an extremely sluggish refresh time after adding Tailwind to my small Next project. I initially thought it was my device.

Solution

I solved it by removing the

@tailwind base;
@tailwind components;
@tailwind utilities;

from my global.css file. The disadvantage to this is that you will not be able to apply tailwind classes inline but you can still write your tailwind in your css files and use @apply.

Answered By – GeniusHawlah

Answer Checked By – Senaida (BugsFixing Volunteer)

Leave a Reply

Your email address will not be published. Required fields are marked *