Using Laravel Blades -
I have started working in Laravel, and started working with .blade.php templates, but I am not able to understand the benefits to use it during Blad.php and being a master page, why do we put code in certain pages like @sections and @Yild
masterpage.blade. php
& lt; Div & gt; @held (section) & lt; / Div & gt; index.balde.php
@section hellow world @endsection Why should I do that? Instead of doing this method, why not just put your text into one page, what are the benefits if we code such a code.
There are so many benefits to using Blade with Laravel, please read it here
Comments
Post a Comment