---
title: "Comment by Jason Jones on \"Phoenix 1.6.0 LiveView + esbuild + Tailwind JIT + AlpineJS - A brief tutorial.\" | Hashnode"
description: "Thanks for putting this together. I&#39;m stumped on the alpine stuff. I&#39;ve npm installed it and added the setup code to &quot;assets/js/japp.js&quot; (via"
url: "https://hashnode.com/posts/phoenix-160-liveview-esbuild-tailwind-jit-alpinejs-a-brief-tutorial/611867c1ac5c985f36434330/comment/616b5ebe441bd36daa9560a7"
---

[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)

[Jason Jones](https://hashnode.com/@Jason31415)

[Oct 16, 2021](https://hashnode.com/posts/phoenix-160-liveview-esbuild-tailwind-jit-alpinejs-a-brief-tutorial/611867c1ac5c985f36434330/comment/616b5ebe441bd36daa9560a7)

Thanks for putting this together. I'm stumped on the alpine stuff. I've npm installed it and added the setup code to "assets/js/japp.js" (via a statement like import "alpinejs" and the rest of the config snipped from the article), but the only way I can get Alpine to work is if I also load it directly into the layout html via

```
 <script defer src="unpkg.com/alpinejs@3.x.x/dist/cdn.min.js"></script>
```

then it works. If I comment that script tag out, then no go. Any tips for what I might be missing? Thanks!

[Sergio Tapia](https://hashnode.com/@sergiotapia)

[Nov 10, 2021](https://hashnode.com/posts/phoenix-160-liveview-esbuild-tailwind-jit-alpinejs-a-brief-tutorial/611867c1ac5c985f36434330/comment/616b5ebe441bd36daa9560a7#reply-618be37bf991b025366e153d)

Hey [Jason Jones](https://hashnode.com/@Jason31415) I recommend checking out the source code link and compare to what you have. That would be your easiest bet.
