mirror of https://github.com/sveltejs/svelte
parent
d185a20ea1
commit
b43cf2da32
@ -1,3 +1,3 @@
|
|||||||
export default {
|
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 {
|
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 {
|
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>
|
<script>
|
||||||
import Nested from "./Nested.svelte";
|
import Nested from "./Nested.svelte";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Nested>
|
<Nested>
|
||||||
<div slot="slot1">
|
<div slot="slot1">
|
||||||
<div slot="slot2" />
|
<div slot="slot2" />
|
||||||
</div>
|
</div>
|
||||||
</Nested>
|
</Nested>
|
||||||
|
Loading…
Reference in new issue