hexadog / laravel-themes-manager

Bring multi themes support to your Laravel application with a full-featured Themes Manager
https://laravel-themes-manager.netlify.app
MIT License
152 stars 31 forks source link

Error when state changed using livewire #33

Closed mohamedsabil83 closed 2 years ago

mohamedsabil83 commented 2 years ago

When displaying a page containing a livewire component, it normally appears. but, when the state changed like do validation, return errors with message view ['livewire-file'] not found like shown in the image:

Screenshot from 2022-03-05 02-26-58

If I create an empty file with the same name in the default resources/views folder, the error is gone but validation not working or you can say the magic view update of livewire not working anymore.

mohamedsabil83 commented 2 years ago

Two solutions: 1- use middleware 2- or, set your theme within render() method of your Livewire component