Skip to content
Advertisement

Tag: laravel-livewire

Laravel Livewire is including tag twice

I’ve been following the Livewire docs and screencasts to build my new app, but I could be doing something wrong because the <head> tag is been included twice. Here is my code: routesweb.php AppHttpLivewireUserAll.php AppViewComponentsUserLayout.php resourseviewslayoutsuser.blade.php resourseviewslivewireuserall.blade.php If I remove the <x-user-layout> tag in the blade, the problem seems to be fixed, but then livewire doesn’t work. I’ve tried many

Livewire views not found after deployment

After deployment to Forge, my Laravel Livewire site is throwing out a server error. I am using Digital Ocean as well. In the Forge site logs it says that my livewire view can’t be found. The app works perfectly on local. Any ideas what to do? I have attempted these commands Here is the site logs pt.1 and pt.2 I

Laravel translations

can someone tell me how can I search (with livewire) products which have a translatable title? Currently, I am using astrotomic/laravel-translatable package. Translations are working just fine and I can statically pull the right data but when I try to search it I have an issue because the package is expecting to have a title in a different table and

How to keep session after storing data in Laravel 8?

I’m new to Laravel. I have created custom Change Password in Laravel 8 using Livewire. But, after succeeded in updating the user password, my session is expired and redirected to login page. So, the question is how to keep the session alive and redirect to the current page? Here’s my code: ChangeUserPassword.php change-user-password.blade.php Any suggestion would really help. Thanks. Answer

Advertisement