mirror of https://github.com/sveltejs/svelte
parent
592b55088c
commit
c11962ab0b
@ -0,0 +1,3 @@
|
|||||||
|
export default {
|
||||||
|
preserveIdentifiers: true
|
||||||
|
};
|
@ -0,0 +1,10 @@
|
|||||||
|
<script>
|
||||||
|
import Item from './Item.svelte';
|
||||||
|
const components = [];
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
{#each [0, 1, 2] as item}
|
||||||
|
<Item bind:this={components[item]} />
|
||||||
|
{/each}
|
||||||
|
</ul>
|
Loading…
Reference in new issue