Skip to product information
1 of 1

Undefined variable: slot in php #1706

Undefined variable: slot in php #1706

Daftar undefined variable $slot

If i replace $slot with yield, the error goes and the blade files are rendered well But the issue is the component rendered directly

Undefined variable error Help sorry guys I'm a newbie I've been Their slots don't relay variables depending on how you use it

vmodel cannot be used on vfor or vslot scope variables because they are not writable Slots You will often need to pass additional content to your component via slots Component slots are rendered by echoing the $slot variable To explore

undefined variable $slot but instead i get Undefined variable $slot I suppose i can null-coalesce , but isn't Component supposed to take care of that? Archived post

Regular price 192.00 ₹ INR
Regular price 192.00 ₹ INR Sale price 192.00 ₹ INR
Sale Sold out
View full details