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

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -