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

A partial sounds like a good idea. You can also create a view composer to add data to that parial view easily, so you can have all the data needed for that view handled separately.

Your views would extend your layout, and that layout has that include, so you shouldn't need do anything else.

0

Thank you very much! I try this solution

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Latoweb latoweb Joined 28 Dec 2015

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.