DEV Community

hamdano2
hamdano2

Posted on • Edited on

Ideas for improving dx of Tailwind with Next.js

Hi
I am a a new member and long time lurker of dev.to community.
Was wondering, does anyone have ideas on how I can make tailwind work faster with next.js in development (e.g by making it run purge css when the development server starts)? It takes a long time for my pages to load when I am in the development mode.

I get that this isn't a problem as long as production is fast (which it is) but it makes developing with it a drag. Otherwise I am happy with it.

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more