Comment définir la valeur de rendement en Laravel
@yield('sidebar', 'Default Content');
Mohamad
@yield('sidebar', 'Default Content');
@extends('layout.file_name')
... code as neeeded
@section('needed_section_name')
< some cool code here >
@stop
...
more code as needed
< some html or other script >
@yield('needed_section_name')
< more html or other script >