I did similar, but it doesn't work. I have main Index.blade.php page in views folder, then I want header section to insert as a template wherever I need. So I made header.blade.php file in separate folder and wrapped whole content in it in @section('header'), in the end of the content closed section with @endsection and as well in the beginning of the file wrote @extends('index'). In index file inside body tag I wrote @yeild('header') but no result. Header section doesn't render in index file. I don't understand what's wrong
Man you are great, you explained it beautifully, much love!!
nice tutorial easy to understand thanksss
thanks great work. i appreciate it. keep it up.
Thank you for your feedback!
Yes I'll keep it up
Thank you sir.🙂
nice bro
ill see you
Thank you!
all ok but @yield(), @extends(), @section() is not working
I did similar, but it doesn't work.
I have main Index.blade.php page in views folder, then I want header section to insert as a template wherever I need. So I made header.blade.php file in separate folder and wrapped whole content in it in @section('header'), in the end of the content closed section with @endsection and as well in the beginning of the file wrote @extends('index').
In index file inside body tag I wrote @yeild('header')
but no result. Header section doesn't render in index file.
I don't understand what's wrong
Hey why are all the views in the layouts folder? Isn't the folder supposed to have the layouts? The footer, header itself aren't layouts tough?
All clear
========= like for my TIME !!!🍎🍊🍉
nice
Thank you.