1. 9
    Configure And Use TailwindCSS JIT Mode With Nx
    2m 14s

Configure And Use TailwindCSS JIT Mode With Nx

Share this video with your friends

Send Tweet

While still an experimental feature in Tailwind v2, JIT compilation mode will be the default in v3. JIT mode not only gives faster rebuild times and allows to generate arbitrary styles, but mainly gives browser tools some relief by only shipping what is needed. Tailwind purging only happens when you create a production build, which means your browser dev tools have to process the possibly megabytes large Tailwind CSS, which might result in a noticeable slowdown. In this lesson we're configuring JIT mode for our setup and we'll learn how we can leverage it with Nx.

Prefer to read along as well? Here's the accompanying article.