mirror of https://github.com/sveltejs/svelte
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
247 B
21 lines
247 B
8 years ago
|
{{#each list as item}}
|
||
|
<p>
|
||
|
<C identifier="{{item}}" bind:currentIdentifier>
|
||
|
{{item}}
|
||
|
</C>
|
||
|
</p>
|
||
|
{{/each}}
|
||
|
|
||
|
<script>
|
||
|
import C from './C.html';
|
||
|
|
||
|
export default {
|
||
|
data: () => ({
|
||
|
list: [1, 2, 3, 2, 1]
|
||
|
}),
|
||
|
components: {
|
||
|
C
|
||
|
}
|
||
|
}
|
||
|
</script>
|