This is another thing I do over and over and tend to forget how to properly do it: How can I use AlpineJS with Laravel Mix? AlpineJS is a great lightweight library to sprinkle some interactivity into your website.
With AlpineJS, this is super simple to do. If you want to use AlpineJS within your Laravel app, you can of course simply use the CDN version (), but when I use other scripts as well, I prefer to have it bundled to one file to reduce requests. Here’s how to use AlpineJS with Laravel Mix: Original: https://martinbetz.eu/article/how-to-use-alpinejs-with-laravel-mix