dimanche 31 mars 2019

yield not displaying content in laravel

I have moved the code of header from a template in /views/layouts/header.blade.php. When I call it using,

@yield('layouts.header')

or

@yield('header')

It doesn't display the code.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire