Blade Components have been around Laravel since long, however they gain immense popularity with the release of Jetstream. Jetstream uses Blade Components to keep all the Views consistent and helps to avoid duplicating any Html and thereby keeping the things DRY.
However, if you have never used Blade Components, the syntax
x- in blade could be daunting.
In this Video, I explain how you can get Started on using Components. The Video also explains the Slots, Multiple Slots, Attributes Merging and Props.
For more amazing content related to Laravel, you can follow me on Twitter.
Top comments (0)