11/1/19

Blade template engine in Laravel | part - 7



Blade - Laravel Blade templating engine
--------------------------------------

The blade is a PHP templating engine in laravel. We also use using the blade templating engine the laravel use is called a blade.

layouts/app.blade.php - this 'app' is very popular among developers. this is what even laravel uses. that would be the master page right now.

how to create the blade (layouts/app.blade.php):
layouts/app.blade.php is a master page


You have a container and here you have some type of content right. you can do with a blade this. you can put @ symbol and user function call yield and then here you can put let's say content.

@yield('content')

@extends basically including
@stop or @endsection

No comments:

Post a Comment

About

Hi, I'm Najathi.
I've started entrepreneurial company, Twin Brothers.Inc.
One is self-funded & the other is venture backed. I also send a weekly. where I share relevent, curated links.

Every Week I Publish a short post on writing, publishing, or content of IT Related

Contact Form

Name

Email *

Message *