mirror of https://github.com/sveltejs/svelte
in each-else, use mount/intro according to that branch's contents #1559
parent
7774c6d92a
commit
f116768a1e
@ -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