From 54ec3e0b59e8df39550ee61b7f064f67da83fb39 Mon Sep 17 00:00:00 2001 From: injektion Date: Tue, 6 Jul 2021 11:58:14 -0700 Subject: [PATCH] Update livewire.blade.md Unless aliased, when going thru the dox on setting up Livewire using the previous code will fail with an error: Target class "[InitializeTenancyByDomain]" does not exist. Changing it to the full namespace works fine. --- source/docs/v3/integrations/livewire.blade.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/source/docs/v3/integrations/livewire.blade.md b/source/docs/v3/integrations/livewire.blade.md index b83788d..e833281 100644 --- a/source/docs/v3/integrations/livewire.blade.md +++ b/source/docs/v3/integrations/livewire.blade.md @@ -15,11 +15,12 @@ Open the `config/livewire.php` file and change this: to this: ```php -'middleware_group' => [ - 'web', - 'universal', - InitializeTenancyByDomain::class, // or whatever tenancy middleware you use -], + 'middleware_group' => [ + 'web', + 'universal', + Stancl\Tenancy\Middleware\InitializeTenancyByDomain::class, // or whatever tenancy middleware you use + ], + ``` Now you can use Livewire both in the central app and the tenant app.