mirror of https://github.com/sveltejs/svelte
fix slot block lineage - fixes #2124
parent
c494c05ebf
commit
24e09efec1
@ -0,0 +1 @@
|
||||
<slot name="name"></slot>
|
@ -0,0 +1,6 @@
|
||||
export default {
|
||||
html: `
|
||||
<span slot="name">Hello</span>
|
||||
<span slot="name">world</span>
|
||||
`
|
||||
};
|
@ -0,0 +1,11 @@
|
||||
<script>
|
||||
import Nested from './Nested.svelte';
|
||||
</script>
|
||||
|
||||
<Nested>
|
||||
<span slot="name">Hello</span>
|
||||
</Nested>
|
||||
|
||||
<Nested>
|
||||
<span slot="name">world</span>
|
||||
</Nested>
|
Loading…
Reference in new issue