mirror of https://github.com/sveltejs/svelte
failing test for #222 part 2
parent
457c126fe2
commit
4e2f03c3ae
@ -0,0 +1,9 @@
|
|||||||
|
export default {
|
||||||
|
html: `
|
||||||
|
<ul><li>foo</li><li>bar</li><li>baz</li></ul>
|
||||||
|
`,
|
||||||
|
|
||||||
|
data: {
|
||||||
|
components: [ 'foo', 'bar', 'baz' ]
|
||||||
|
}
|
||||||
|
};
|
@ -0,0 +1,5 @@
|
|||||||
|
<ul>
|
||||||
|
{{#each components as component}}
|
||||||
|
<li>{{component}}</li>
|
||||||
|
{{/each}}
|
||||||
|
</ul>
|
Loading…
Reference in new issue