我创建的视图:Laravel:产率( '内容')
@extends('layouts.dashboard')
@section('wrapper')
<table class="table table-striped">
<tr>
<th>Username</th>
<th>Event-count</th>
<th>Is active</th>
</tr>
和:layouts.dashboard
<div class="main-panel">
@yield('section')
</div>
<footer class="footer">
而现在的表被显示在顶部,而不是在div类= “主要”。有谁知道为什么?
由于名称变更和@endsection解决了这个问题 – AppleForTheKing