You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I thought I'd quickly create something using Svelte Kit this weekend and noticed that there are issues with slots with duplicate names, specifically when I tried to use the Nav component:
[plugin:vite-plugin-svelte] Duplicate slot name "right" in <Nav>
I'm going to see if I can work out what will need to change in order to fix it, but thought I'd add the issue for awareness. Also, I may not have the skill required to get anywhere with fixing it!
The text was updated successfully, but these errors were encountered:
simonlayfield
changed the title
Duplicate slot names using Svelte Kit
Duplicate slot names using Svelte 3.35
Mar 27, 2021
Yeah, this happening because now we have <svelte:fragment/> and can't use multiple <div slot="blah"></div><div slot="blah"></div> .
So if you have something like this in your code:
Hey!
First of all thanks so much for Svelte Chota!
I thought I'd quickly create something using Svelte Kit this weekend and noticed that there are issues with slots with duplicate names, specifically when I tried to use the Nav component:
Looks like this issue was picked up here: sveltejs/svelte#6061
I'm going to see if I can work out what will need to change in order to fix it, but thought I'd add the issue for awareness. Also, I may not have the skill required to get anywhere with fixing it!
The text was updated successfully, but these errors were encountered: