Hi!
I have new Laravel 8 Jetstream:Livewire + Blade project. One can find out from tutorials that to use @livewire(‘hello’) one should create app/Http/Livewire/hello.php
and resources/views/livewire/hello.blade.php
But there is only one file hello\resources\views\navigation-sidebar.blade.php in my project. No template, no controller. Why it works?
Moreover, adding new file hello\resources\views\sidebar.blade.php
and new line to app.blade.php
@livewire('sidebar') <button class="c-sidebar-minimizer c-class-toggler" type="button" data-target="_parent" data-class="c-sidebar-minimized"></button> </div> <div class="c-wrapper c-fixed-components"> @livewire('navigation-dropdown')
will throw an error