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

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

Last updated 1 year ago.

Sign in to participate in this thread!


Your banner here too?

phazei phazei Joined 23 Jul 2014


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

Your logo here?

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

© 2024 - All rights reserved.