How to change default layout in livewire2 app?

I made in Laravel8, livewire2 3 layouts :
resources/views/layouts/admin.blade.php, resources/views/layouts/frontpage.blade.php,
resources/views/layouts/personal.blade.php and removed original

But opening dashboard page I got error :

View [] not found. (View: /resources/views/dashboard.blade.php)

Which has default content :

    <x-slot name="header">
        <h2 class="font-semibold text-xl text-gray-800 leading-tight">
            {{ __('Dashboard') }}

    <div class="py-12">
        <div class="max-w-7xl mx-auto sm:px-6 lg:px-8">
            <div class="bg-white overflow-hidden shadow-xl sm:rounded-lg">
                <x-jet-welcome />
  1. Can I specify layout in file above ?

  2. Here I read :

If you want to specify a default layout other than the,
you can override the livewire.layout config option.

‘layout’ => ‘app.other_default_layout’

But I did not find any “livewire.layout” file in my project. How can I create it?


USE in the method render: ->extends(‘app.nameyourlayout’)

Do you mean method render when I create a component with command like :
php artisan make:livewire Componentname
But I do not see any component dashboard under “app/Http/Livewire/” subdirectory…

The default template must be in resources / layouts … Livewire does not look for it in / Livewire … This template is not a livewire component, it is a normal .blade that includes @yield (´content´)