Laravel this is not only a practical framework, it is also a programming style
I have moved the code of header from a template in /views/layouts/header.blade.php. When I call it using,
/views/layouts/header.blade.php
@yield('layouts.header')
or
@yield('header')
It doesn't display the code.
Aucun commentaire:
Enregistrer un commentaire