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 am looking for validation regarding this idea and probably even some advice.

I have even created a small package for it if you somehow find it interesting.

github.com/abdelhamiderrahmouni/blade-component-scopes

36

0 / 1000