mirror of https://github.com/sveltejs/svelte
parent
5d27d3fda7
commit
ffbc991027
@ -0,0 +1,13 @@
|
||||
export default {
|
||||
data: {
|
||||
animalPaws: {
|
||||
raccoon: 'hands',
|
||||
eagle: 'wings'
|
||||
}
|
||||
},
|
||||
|
||||
html: `
|
||||
<p>raccoon: hands</p>
|
||||
<p>eagle: wings</p>
|
||||
`
|
||||
};
|
@ -0,0 +1,3 @@
|
||||
{{#each Object.entries(animalPaws) as [animal, pawType]}}
|
||||
<p>{{animal}}: {{pawType}}</p>
|
||||
{{/each}}
|
Loading…
Reference in new issue