mirror of https://github.com/sveltejs/svelte
parent
5290b1d9e2
commit
f91ba51fc4
@ -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