Skip to product information
1 of 1

Vue JS 3 Tutorial - 37 - Slots

Vue JS 3 Tutorial - 37 - Slots

Daftar vue slot props

Naming multiple slots and getting props from can name our slots so that we can have multiple slots in one component

You can use the storybook props and use it within the slot, : const Template = => ({ props:

vue default slot Inside the script part: we receive props from the parent component which will allow us to set the Google Map: mapConfig

vue check if slot has content default If a slot is a scoped slot, arguments passed to the slot functions are available to the slot as its slot props In the following

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