forked from sveltejs/svelte
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_config.js
35 lines (35 loc) · 847 Bytes
/
_config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
export default {
data: {
categories: [
{
name: 'animals',
things: [
{ name: 'aardvark' },
{ name: 'buffalo' },
{ name: 'chinchilla' }
]
},
{
name: 'countries',
things: [
{ name: 'albania' },
{ name: 'brazil' },
{ name: 'china' }
]
},
{
name: 'people',
things: [
{ name: 'alice' },
{ name: 'bob' },
{ name: 'carol' },
{ name: 'dave' }
]
}
]
},
html: `<p>animals: aardvark</p><p>animals: buffalo</p><p>animals: chinchilla</p><!--#each category.things--><p>countries: albania</p><p>countries: brazil</p><p>countries: china</p><!--#each category.things--><p>people: alice</p><p>people: bob</p><p>people: carol</p><p>people: dave</p><!--#each category.things--><!--#each categories-->`,
test ( assert, component, target ) {
// TODO
}
};