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.
Back
•
In response to @abdelhamid
So i set on a journey to make that happen and started by imagining how would i be able to structure such component, and found myself with the following version.
I would love to know your opinion about it.