Update livewire.blade.md (#131)

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

* Update livewire.blade.md

* remove indentation

Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com>
This commit is contained in:
injektion 2021-07-07 08:43:10 -07:00 committed by GitHub
parent b573543f67
commit 22e06dae4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,6 +22,8 @@ to this:
], ],
``` ```
(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') }}).