---
title: "Comment by Scribe of the Ziggurat on \"Phoenix 1.6.0 LiveView + esbuild + Tailwind JIT + AlpineJS - A brief tutorial.\" | Hashnode"
description: "Excellent and straight to the point - thanks. Im having issues with app.js - the part where its assigning hooks : hooks, Is throwing a js error &quot;hooks is n"
url: "https://hashnode.com/posts/phoenix-160-liveview-esbuild-tailwind-jit-alpinejs-a-brief-tutorial/611867c1ac5c985f36434330/comment/612bfcd6fd0bf8636d76e6f7"
---

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

[Scribe of the Ziggurat](https://hashnode.com/@steveoc64)

[Aug 29, 2021](https://hashnode.com/posts/phoenix-160-liveview-esbuild-tailwind-jit-alpinejs-a-brief-tutorial/611867c1ac5c985f36434330/comment/612bfcd6fd0bf8636d76e6f7)

Excellent and straight to the point - thanks.

Im having issues with app.js - the part where its assigning

```
hooks: hooks,
```

Is throwing a js error "hooks is not defined"

just trying to debug that today.

[Scribe of the Ziggurat](https://hashnode.com/@steveoc64)

[Aug 29, 2021](https://hashnode.com/posts/phoenix-160-liveview-esbuild-tailwind-jit-alpinejs-a-brief-tutorial/611867c1ac5c985f36434330/comment/612bfcd6fd0bf8636d76e6f7#reply-612c0583fd0bf8636d76e748)

just declaring an empty hooks seemed to fix it all up

```
let hooks = {};
```

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

[Aug 30, 2021](https://hashnode.com/posts/phoenix-160-liveview-esbuild-tailwind-jit-alpinejs-a-brief-tutorial/611867c1ac5c985f36434330/comment/612bfcd6fd0bf8636d76e6f7#reply-612d052f2858872661b9e2fa)

You're right! [Scribe of the Ziggurat](https://hashnode.com/@steveoc64)

I had that in my code but forgot to update the article, it's all fixed. Thank you!
