Svelte Fragment for named slots
Things that don't work in Svelte · You can't loop through slots · You can't put svelte:fragment> inside an block · Modifying arrays doesn't
Slots • Svelte Examples svelte get slot content Things that don't work in Svelte · You can't loop through slots · You can't put svelte:fragment> inside an block · Modifying arrays doesn't svelte pass props to slot find this helpful! My channel membership is live check it out here Svelte Tutorial
svelte slot I figured out the solution, in the parent component I had to expose attributes and pass that into the slot script>
Regular
price
134.00 ₹ INR
Regular
price
Sale
price
134.00 ₹ INR
Unit price
/
per