mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 18:24:03 +00:00
Livewire integration
This commit is contained in:
parent
22324ec158
commit
24e63076da
2 changed files with 22 additions and 0 deletions
|
|
@ -108,6 +108,7 @@ return [
|
|||
'Passport' => 'passport',
|
||||
'Nova' => 'nova',
|
||||
'Telescope' => 'telescope',
|
||||
'Livewire' => 'livewire',
|
||||
],
|
||||
],
|
||||
'Tips' => [
|
||||
|
|
|
|||
21
docs/source/v2/livewire.blade.md
Normal file
21
docs/source/v2/livewire.blade.md
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
title: Livewire Integration
|
||||
description: Livewire Integration
|
||||
extends: _layouts.documentation
|
||||
section: content
|
||||
---
|
||||
|
||||
# Livewire Integration {#livewire-integration}
|
||||
|
||||
Open the `config/livewire.php` file and change this line:
|
||||
|
||||
```php
|
||||
'middleware_group' => ['web'],
|
||||
```
|
||||
|
||||
to this:
|
||||
```php
|
||||
'middleware_group' => ['web', 'universal'],
|
||||
```
|
||||
|
||||
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