Relative Content

Tag Archive for laravellaravel-livewirelivewire-3

Show progress animation for dynamic table data loading with Livewire

I’m using Livewire on a Laravel 11 app to dynamically load table contents. It all works well but I would like to display an indication or animation from the moment the user clicks the pagination link to the moment the information is displayed – for example, I have seen some sites where the table rows are shaded grey with a progress animation.

Livewire image upload returns 401

I’m trying to upload an image to CloudFlare from DigitalOcean’s App platform with Laravel 10 and Livewire 3. I wrote a service for this and this service api was written according to CloudFlare’s api document. My project runs smoothly on local, but on my production server, when I press the “Select File” button, mark the file, and then press the “Open” button, it gives an error. When I look at the console, I see the error “Failed to load resource: the server responded with a status of 401 ()”. What could be the problem with this and how can I solve it?