Livewire integration

This commit is contained in:
Samuel Štancl 2020-04-10 21:17:50 +02:00
parent 22324ec158
commit 24e63076da
2 changed files with 22 additions and 0 deletions

View file

@ -108,6 +108,7 @@ return [
'Passport' => 'passport',
'Nova' => 'nova',
'Telescope' => 'telescope',
'Livewire' => 'livewire',
],
],
'Tips' => [

View 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.