Support the ongoing development of Laravel.io →
Views Blade
Last updated 2 years ago.
0

either you use variables inside the templates and i don't think this would help, or you make a new file for cardlayout let's call it MainCardLayout and inside it just put the main codes with referring for the sections inside, then you extend it inside your Cardlayout and inside the other templates/ so you just need to create a main Layout file so CardLayout could extend it and the others as well.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

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.