mirror of https://github.com/sveltejs/svelte
in each-else, use mount/intro according to that branch's contents (#1586)
Fixes # 1559pull/1588/head
parent
e66d9ffae7
commit
26dfb9afa7
@ -0,0 +1 @@
|
|||||||
|
Foo
|
@ -0,0 +1,5 @@
|
|||||||
|
export default {
|
||||||
|
nestedTransitions: true,
|
||||||
|
data: { items: [] },
|
||||||
|
html: `No items.`,
|
||||||
|
};
|
@ -0,0 +1,9 @@
|
|||||||
|
{#each items as item}
|
||||||
|
<Widget {item}/>
|
||||||
|
{:else}
|
||||||
|
No items.
|
||||||
|
{/each}
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default { components: { Widget: './Widget.html' } };
|
||||||
|
</script>
|
Loading…
Reference in new issue