DEV Community

Discussion on: Setting up Next.js with Tailwind CSS

Collapse
zwacky profile image
Simon Wicki

JIT mode

even after reading 2 articles I still don't know why I should want this 🤔

Collapse
dailydevtips1 profile image
Chris Bongers Author

If you never needed custom CSS in a Tailwind application you needed JIT.
If you are fine with all the classes from Tailwind and don't need custom add-ons you are fine not using it.

It's just a quicker way to add custom CSS for a single component.

Collapse
zwacky profile image
Simon Wicki • Edited on

Thanks for the nice explanation! JIT then looks like a lot of win to me.
I hope all the kinks get ironed out so it's not a seperate library anymore. Just saw that it's part of the core repo since v2.1 💪