We take a look at adding some UI interactivity with Alpine.js. Alpine.js allows us to use javascript in a declarative way. It’s very similar to Vue, but doesn’t require any compilation steps. When I’m in the context of a server-driven app like we are here, I would consider using Alpine if all you’re doing is toggling UI components.

We add some interactivity to our search dropdown and build some modals for the video trailer and images.

#laravel #php #web-development

Laravel Movie App - UI Interactivity with Alpine.js - Part 5
4.70 GEEK