mirror of https://github.com/sveltejs/svelte
parent
926a2aebd8
commit
0cf9861e1f
@ -0,0 +1 @@
|
||||
<slot name="slot2"></slot>
|
@ -0,0 +1,9 @@
|
||||
export default {
|
||||
compileOptions: {
|
||||
dev: true
|
||||
},
|
||||
warnings: [
|
||||
'Received unexpected slot named "default"',
|
||||
'Received unexpected slot named "slot1"'
|
||||
]
|
||||
};
|
@ -0,0 +1,7 @@
|
||||
<script>
|
||||
import Nested from "./Nested.svelte";
|
||||
</script>
|
||||
<Nested>
|
||||
<input slot="slot1">
|
||||
<input slot="slot2">
|
||||
</Nested>
|
Loading…
Reference in new issue