Back

I have been working on Blade Components lately, specifically styling different elements from outside and this has been my experience.
1. I can't pass any attribute without having a slot present and imperatively have a closing tag.
2. I loose the simplicity and the clean feel that components provide.

image
image

4

35

In response to @abdelhamid

I would love to be able to just add attributes and slot values in the same component tag, just like in the picture.

image

1

0 / 1000