仅打开最近的项目,并且没有出现“ Boom”错误。
未定义的属性:Illuminate \ View \ Factory :: $ iteration(视图:/mnt/d/web/etapas-backend/resources/views/components/landing-pages/screenshots.blade.php)(视图:/ mnt / d / web / etapas-backend / resources / views / components / landing-pages / screenshots.blade.php)
这是我机器上的SS
@extends('layout')
@section
<h1>My First Website</h1>
@endsection
正确的代码-注意添加的@section('content')这是我在layout.blade.php中的代码
@extends('layout')
@section('content')
<h1>My First Website</h1>
@endsection