mirror of https://github.com/sveltejs/svelte
Merge pull request #2431 from Panya/issue-2429
Fix creation of debugging comment for elements without childrenpull/2434/head
commit
519059f7d8
@ -0,0 +1,3 @@
|
|||||||
|
<div>
|
||||||
|
<slot name="slot1" />
|
||||||
|
</div>
|
@ -0,0 +1,3 @@
|
|||||||
|
export default {
|
||||||
|
html: `<div><input slot="slot1"></div>`
|
||||||
|
};
|
@ -0,0 +1,6 @@
|
|||||||
|
<script>
|
||||||
|
import Nested from "./Nested.svelte";
|
||||||
|
</script>
|
||||||
|
<Nested>
|
||||||
|
<input slot="slot1">
|
||||||
|
</Nested>
|
Loading…
Reference in new issue