Handling default slot on custom component -
Handling default slot on custom component -
vue styleguidist understands JSX component templates too In this example, it will display the definition of the found slot export default { render
slot For example, we could have this component with a default slot that has a list of results in the results property: template> div class=search> slot
vue default slot vue'; export default { components: { ChildComponent }, data() { return { myVariable: `Parent Variable` } } } script> Copy Viewing the
vue slot ref provides two types of slots: default and named slots The default slot is where any content will go if it's not assigned to a named slot
Regular
price
126.00 ₹ INR
Regular
price
126.00 ₹ INR
Sale
price
126.00 ₹ INR
Unit price
/
per