mirror of https://github.com/sveltejs/svelte
parent
d185a20ea1
commit
b43cf2da32
@ -1,3 +1,3 @@
|
||||
export default {
|
||||
error: [`Element with a slot='...' attribute must be a direct descendant of a component or custom element`]
|
||||
error: [`Element with a slot='...' attribute must be a child of a component or custom element`]
|
||||
};
|
||||
|
@ -1,3 +1,3 @@
|
||||
export default {
|
||||
error: [`Element with a slot='...' attribute must be a direct descendant of a component or custom element`]
|
||||
error: [`Element with a slot='...' attribute must be a child of a component or custom element`]
|
||||
};
|
||||
|
@ -1,3 +1,3 @@
|
||||
export default {
|
||||
error: [`Element with a slot='...' attribute must be a direct descendant of a component or custom element`]
|
||||
error: [`Element with a slot='...' attribute must be a child of a component or custom element`]
|
||||
};
|
||||
|
@ -1,9 +1,9 @@
|
||||
<script>
|
||||
import Nested from "./Nested.svelte";
|
||||
import Nested from "./Nested.svelte";
|
||||
</script>
|
||||
|
||||
<Nested>
|
||||
<div slot="slot1">
|
||||
<div slot="slot2" />
|
||||
</div>
|
||||
<div slot="slot1">
|
||||
<div slot="slot2" />
|
||||
</div>
|
||||
</Nested>
|
||||
|
Loading…
Reference in new issue