Laravel — P70: Multiple Slots in Blade

Dino Cajic
Geek Culture
Published in
3 min readMar 20

--

Dino Cajic on Laravel Multiple Blade Slots

In the previous article, we looked at the $slot variable and how to inject content into our components. But what if our component was composed of multiple slots? Make different components you say? We could, but sometimes that’s just not practical. There can be over-segmentation.

--

--

Dino Cajic
Geek Culture

Author of An Illustrative Introduction to Algorithms. IT Leader with a B.S. in Computer Science, a minor in Biology, and a passion for learning.