mirror of https://github.com/sveltejs/svelte
parent
a4b2fb74db
commit
608d64fa29
@ -0,0 +1,7 @@
|
|||||||
|
export default {
|
||||||
|
compileOptions: {
|
||||||
|
dev: true
|
||||||
|
},
|
||||||
|
|
||||||
|
error: `Cannot have duplicate keys in a keyed each`
|
||||||
|
};
|
@ -0,0 +1,7 @@
|
|||||||
|
<script>
|
||||||
|
const array = [1, 2, 3, 1];
|
||||||
|
</script>
|
||||||
|
|
||||||
|
{#each array as item (item)}
|
||||||
|
{item}
|
||||||
|
{/each}
|
Loading…
Reference in new issue