Laravel — P70: Multiple Slots in Blade
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.