I had this issue which was fixed by running php artisan vendor:publish --force -tag=livewire:assets
but then when Livewire is trying to Hydrate, and post to livewire/message/MY_COMPONENT, it still gets a 404. This works fine locally with php artisan serve
, but not with Apache.
late answer, but check if you have Apache mod_rewrite
enabled
or if using nginx
you add in your nginx.conf
file or sitefile
.
try_files $uri $uri/ /index.php?$args;