我有前台master.blade.php和home.blade.php
@include('partials.header')
@yield('content')
和路线
Route::get('/', function () {
return view('home');
});
我遇到错误
View [partials.header] not found. (View: W:\domains\iten\resources\views\layouts\master.blade.php) (View: W:\domains\iten\resources\views\layouts\master.blade.php)
答案 0 :(得分:1)
我可以在 header..blade.php 中看到双点,将其更改为 header.blade.php 。
答案 1 :(得分:1)
重命名
// NOT STANDARD JAVASCRIPT (the proposal hasn't even been accepted for Stage 0)
this.{x, y} = foo(arg);
到
header..blade.php
视图中有两个点(..)!