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.
svelte/test/compiler/each-block-indexed/_config.js

7 lines
167 B

export default {
data: {
animals: [ 'adder', 'blue whale', 'chameleon' ]
},
html: `<p>0: adder</p><p>1: blue whale</p><p>2: chameleon</p><!--#each animals-->`
};