mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-13 02:34:03 +00:00
Update livewire.blade.md
This commit is contained in:
parent
54ec3e0b59
commit
cc6b8421a8
1 changed files with 3 additions and 1 deletions
|
|
@ -18,11 +18,13 @@ to this:
|
||||||
'middleware_group' => [
|
'middleware_group' => [
|
||||||
'web',
|
'web',
|
||||||
'universal',
|
'universal',
|
||||||
Stancl\Tenancy\Middleware\InitializeTenancyByDomain::class, // or whatever tenancy middleware you use
|
InitializeTenancyByDomain::class, // or whatever tenancy middleware you use
|
||||||
],
|
],
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
(Don't forget to import the middleware class.)
|
||||||
|
|
||||||
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.
|
||||||
|
|
||||||
Also make sure to enable [universal routes]({{ $page->link('features/universal-routes') }}).
|
Also make sure to enable [universal routes]({{ $page->link('features/universal-routes') }}).
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue