Answer the question
In order to leave comments, you need to log in
Why header is not displayed?
Files:
@section('header')
Содержимое header'a
@endsection
@extends('layout')
@yield('header')
<!--Содержимое страницы-->
Answer the question
In order to leave comments, you need to log in
You messed up the content loading logic a bit.
In layout.blade.php you need
A in index.blade.php
@extends('layout')
@section('header')
Содержимое header'a
@endsection
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question