SOjust declaring an empty hooks seemed to fix it all up let hooks = {};Reply·Article·Aug 29, 2021·Phoenix 1.6.0 LiveView + esbuild + Tailwind JIT + AlpineJS - A brief tutorial.
SOExcellent 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.Comment·Article·Aug 29, 2021·Phoenix 1.6.0 LiveView + esbuild + Tailwind JIT + AlpineJS - A brief tutorial.