mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 10:14:03 +00:00
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.
This commit is contained in:
parent
b573543f67
commit
54ec3e0b59
1 changed files with 6 additions and 5 deletions
|
|
@ -18,8 +18,9 @@ to this:
|
||||||
'middleware_group' => [
|
'middleware_group' => [
|
||||||
'web',
|
'web',
|
||||||
'universal',
|
'universal',
|
||||||
InitializeTenancyByDomain::class, // or whatever tenancy middleware you use
|
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.
|
Now you can use Livewire both in the central app and the tenant app.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue