I am working on a CMS like multi-tenant app , that the templates differs per website/tenant.
I don’t know how to extend livewire layout view not to use layouts\app.blade.php and instead use tenant app selected layout located in layouts\ themename\app.blade.php
The themename is dynamic (gotten from the tenant theme settings stored in the DB).
How do i dynamically use an app layout per theme in livewire?
Currently in livewire this have to be hardcoded the the route\web.php?
// Customizing layout
Route::livewire('/home', 'counter')
->layout('layouts.base');
Is there a way to make this dynamic?