Category: Laravel, PHP, javascript

Blade is the templating engine Laravel uses to render it’s pages. And trust me Blade is very powerful and lets you do some really neat stuff. Usually we want our pages to have a consistent look and that means that the core of the layout should stay mostly the same. With blade we can solve this pretty easily, since it allows us to use template inheritance.

So your app.blade.php should look something like this: Now lets jump to our welcome.blade.php and lets take advantage of the blade features.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners