Support the ongoing development of Laravel.io →
posted 9 years ago
Views Blade
Last updated 1 year ago.
0

To my understanding, you call View::make from controller or routes to instruct which blade view to use for the final output, together with data to be used in that view.

@include is used inside blade template itself to include partial views for ex: master.blade.php may have two @include sections, one for header and one for footer and there will be two partial views header.blade.php, footer.blade.php

I have given example in another thread http://laravel.io/forum/09-02-2014-using-section-and-yield?page=1#reply-13486

Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

phazei phazei Joined 23 Jul 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.