Generically Typed Vue Components with Composition API
Generically Typed Vue Components with Composition API
View what's changed in the Vue 3 Docs Migartion Guide here and here 1 Slots 3 lessons • 11 min What are Slots 3:48 Using Slots 3:55 Named Slots
See Configuration Reference The live preview of named-slots-vuejs Created by 93lucasp 93lucasp, creator of the sandbox Forked from Vue 3 template Template
vue named slots To use named scoped slots we need to name the slots inside the component with the 'name' attribute And to receive data from a named slot we need to refer to
vue 3 named slots See Example 3 below slot should also use template> syntax when there are other named slots : Unexpected mixed usage of different slot syntaxes
Regular
price
179.00 ₹ INR
Regular
price
179.00 ₹ INR
Sale
price
179.00 ₹ INR
Unit price
/
per