Category: Laravel

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
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners