-
Notifications
You must be signed in to change notification settings - Fork 11.5k
Closed
Description
I have updated my project to version 5.4 and have found that the @stack
components don't correctly order the elements.
Firts View app.blade.php
{{-- Basic html with Bootstrap --}}
<div class="container">
@yield('title')
<ol class="breadcrumb">
@stack('breadcrumb')
</ol>
</div>
{{-- Basic html with Bootstrap --}}
Second View default.blade.php
@extends('app')
@push('breadcrumb')
<li><a href="/">0</a></li>
<li><a href="/">1</a></li>
@endpush
@section('title')
<div class="page-header">
<h1>Laravel 5.4 | Bug Stack Order</h1>
</div>
@endsection
Third view welcome.blade.php
@extends('default')
@push('breadcrumb')
<li><a href="/">2</a></li>
@endpush
Result
<div class="container">
<div class="page-header">
<h1>Laravel 5.4 | Bug Stack Order</h1>
</div>
<ol class="breadcrumb">
<li><a href="/">2</a></li>
<li><a href="/">0</a></li>
<li><a href="/">1</a></li>
</ol>
</div>
Metadata
Metadata
Assignees
Labels
No labels