Using Laravel blade components and slots
Using Laravel blade components and slots
Introduction · Template Inheritance Defining A Layout; Extending A Layout · Components & Slots · Displaying Data Blade & JavaScript Frameworks · Control
If you are using a non-default slot in the component, you can also chain on ->slot() : In addition to Blade views, you can optionally return a Blade template
laravel $slot Super simple but elegant Laravel blade-based UI components using TailwindCSS and vanilla Javascript slot:headings> x-bladewind::tab-heading name
laravel blade slot class={{ $class ?? '' }} > {{ $slot }} button> form> You can use it like this perform an action x-form-button :action=route
Regular
price
150.00 ₹ INR
Regular
price
150.00 ₹ INR
Sale
price
150.00 ₹ INR
Unit price
/
per