Hide an Empty Slot with No Content
Testing · Troubleshooting Reference Configuration · Astro Runtime API Astro will pass an empty slot when a slot element exists but has no content to pass
Check to see if Slot is Filled vue check if slot has content Testing · Troubleshooting Reference Configuration · Astro Runtime API Astro will pass an empty slot when a slot element exists but has no content to pass vue slot name So if you're a complete newbie to Vue, I'd suggest you check out the Vue docs first: It is a Vue component that has an additional slot
vue jsx slot A simple if check would result in a falsey value if the content of mySlot was empty, and we could all move on to better things In Vue 3 this is
Regular
price
165.00 ₹ INR
Regular
price
Sale
price
165.00 ₹ INR
Unit price
/
per