stevefink
1 month ago
174
1
Laravel

<x-slot> usage in Blade Component Cookbook

Posted 1 month ago by stevefink

Hi :)

Should be a trivial question. I noticed in the Blade Component Cookbook series, namely in the modal episode located here: https://laracasts.com/series/blade-component-cookbook/episodes/5, a component named <x-slot> was used.

Is this a built-in Blade component? I don't see to recall Jeff building a slot.blade.php anywhere. I also noted the usage of $trigger in the actual component definition file. Where is this coming from?

Thanks :)

Please sign in or create an account to participate in this conversation.