Let’s learn about Tailwind’s Just-in-Time mode and how to use it in Angular.

Since v11.2, the Angular CLI natively supports Tailwind CSS. This means that, although we don’t have access to the underlying PostCSS pipeline, we can use Tailwind CSS without many hassles. If you have Tailwind installed and a tailwind.config.js file, the Angular CLI will automatically add Tailwind to the list of PostCSS plugins it uses when building or serving your application.

I’ve already written a guide on how to add Tailwind CSS to your Angular application. In this article, I would like to go a step further and talk about how we can use Tailwind’s just-in-time (JIT) compiler with Angular.

#angular #tailwindcss #tailwind

How to Use Tailwind's Just-in-Time Mode in Angular
3.25 GEEK