Php 未找到InvalidArgumentException视图[layouts.app]。Larave-8 LliveWire-2

Php 未找到InvalidArgumentException视图[layouts.app]。Larave-8 LliveWire-2,php,laravel,laravel-8,laravel-livewire,Php,Laravel,Laravel 8,Laravel Livewire,当我将app.blade.php更改为base.blade.php时,我出现了以下错误 无效辩论例外 找不到视图[layouts.app]。(视图:D:\Code\my app\vendor\livewire\livewire\src\Macros\livewire View component.blade.php) 未找到layouts.app。 你是说布局\基础吗 否则,它工作得很好 -这是我的代码。 参考资料\views\layouts\base.blade.php <!DOCTYP

当我将
app.blade.php
更改为
base.blade.php
时,我出现了以下错误

无效辩论例外 找不到视图[layouts.app]。(视图:D:\Code\my app\vendor\livewire\livewire\src\Macros\livewire View component.blade.php)

未找到layouts.app。
你是说布局\基础吗

否则,它工作得很好

-这是我的代码。
参考资料\views\layouts\base.blade.php

<!DOCTYPE html>
<html lang="en">
<head>
    <title>Document</title>
    @livewireStyles
</head>
<body>
    @livewire('auth.register')
    
    @livewireScripts
</body>
</html>
<div>
    Registration Form
</div>

文件
@livewireStyles
@livewire('auth.register')
@LiveWireScript
resources\views\livewire\auth\register.blade.php

<!DOCTYPE html>
<html lang="en">
<head>
    <title>Document</title>
    @livewireStyles
</head>
<body>
    @livewire('auth.register')
    
    @livewireScripts
</body>
</html>
<div>
    Registration Form
</div>

登记表
web.php

<?php

use App\Http\Livewire\Auth\Register;
use Illuminate\Support\Facades\Route;


Route::get('/register', Register::class);

您必须搜索任何引用最后一个app.blade.php源代码的内容。在某些情况下,刀片服务器是从主服务器扩展而来的,因此可能刀片服务器具有指令@extends('layout.app'),需要很好地引用