How to setup Tailwind CSS JIT with NextJS

1 · Dev Sharma · May 13, 2021, 11:25 a.m.
The JAMStack The latest addition to the Tailwind project is the its just-in-time compiler that generates your styles on-demand as you author your templates instead of generating everything in advance at the initial build time. Here are the advantages that JIT offers: Lightning fast build times Every variant is enabled out of the box Generate arbitrary styles without writing custom CSS (top[-10px]) Identical CSS in development and production Better browser performance in development Lets get S...