mirror of https://github.com/sveltejs/svelte
parent
a0bbc13678
commit
b74215e185
@ -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