mirror of https://github.com/sveltejs/svelte
parent
ecea85891c
commit
12684d4eba
@ -0,0 +1,3 @@
|
||||
export default {
|
||||
html: `<div>a</div> <div>b</div> <div>c</div>`
|
||||
};
|
@ -0,0 +1,7 @@
|
||||
<script>
|
||||
const foo = ['a', 'b', 'c'];
|
||||
</script>
|
||||
|
||||
{#each [...foo] as item}
|
||||
<div>{item}</div>
|
||||
{/each}
|
Loading…
Reference in new issue