---
title: "Comment by Chorn Sokun on \"Phoenix 1.6.0 LiveView + esbuild + Tailwind JIT + AlpineJS - A brief tutorial.\" | Hashnode"
description: "I&#39;ve got tailwindcss ^2.2.19 when I setup my project. I notice that jit didn&#39;t work. The output app.css size is 4 MB. I had to add --jit to my watch com"
url: "https://hashnode.com/posts/phoenix-160-liveview-esbuild-tailwind-jit-alpinejs-a-brief-tutorial/611867c1ac5c985f36434330/comment/618f157e26d4d237c427823f"
---

[Discussion](https://hashnode.com/posts/phoenix-160-liveview-esbuild-tailwind-jit-alpinejs-a-brief-tutorial/611867c1ac5c985f36434330)

Comment [Phoenix 1.6.0 LiveView + esbuild + Tailwind JIT + AlpineJS - A brief tutorial.](https://hashnode.com/posts/phoenix-160-liveview-esbuild-tailwind-jit-alpinejs-a-brief-tutorial/611867c1ac5c985f36434330)

[Chorn Sokun](https://hashnode.com/@sokun)

[Nov 13, 2021](https://hashnode.com/posts/phoenix-160-liveview-esbuild-tailwind-jit-alpinejs-a-brief-tutorial/611867c1ac5c985f36434330/comment/618f157e26d4d237c427823f)

I've got tailwindcss ^2.2.19 when I setup my project. I notice that jit didn't work. The output app.css size is 4 MB. I had to add `--jit` to my watch command:

```
    npx: [
      "tailwindcss",
      "--input=css/app.css",
      "--output=../priv/static/assets/app.css",
      "--postcss",
      "--watch",
      "--jit",
      cd: Path.expand("../assets", __DIR__)
    ],
```
