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.

Abdelhamid Errahmouni
@abdelhamid
🚀 Full Stack developer (TALL), passionate about enhancing web experiences and crafting robust back-ends. 💻
• • 13 Posts • 530 Views
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
I have been using laravel zero for quite some time now in some personal projects and i love it, it's just the right tool for making cli apps in my opinion.
And i want to give back to the project so i am curious @nunomaduro can i make some updates to the website, like :
- change from laravel mix to vite
- update the ui of the home page
- update laravel to the latest v11
Would that be a good idea or just a wast of time for you bro ?
Thanks man 😄, i will proceed with the pull request please let me know if there is any thing to clarify.
Update: i have opened it
Most of the work was in the home page and in changing old scss files to app.css.
github.com/laravel-zero/laravel-zero.com/pull/18