-
Notifications
You must be signed in to change notification settings - Fork 1
/
o.we
54 lines (49 loc) · 2.11 KB
/
o.we
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<template>
<example-list items="{{items}}" root="{{root}}"></example-list>
</template>
<script>
require('./example-list.we');
module.exports = {
data: {
root: 'examples',
items: [
// FORMAT:
// `name` key is the example filename without '.we'
// Support sub directory, e.g. 'new-fashion/index'
// common
{name: 'hello', title: 'Hello World'},
{name: 'syntax/index', title: 'More Syntax'},
{name: 'style/index', title: 'Common Style'},
{name: 'animation', title: 'Animation'},
// component
{name: 'component/text-demo', title: 'Text'},
{name: 'component/image-demo', title: 'Image'},
{name: 'component/input-demo', title: 'Input'},
{name: 'component/scroller-demo', title: 'Scroller'},
{name: 'component/list/list-basic', title: 'List (Basic)'},
{name: 'component/list/list-demo', title: 'List (Advanced)'},
{name: 'component/slider/index', title: 'Slider'},
{name: 'component/a-demo', title: 'A'},
{name: 'component/video-demo', title: 'Video'},
{name: 'component/countdown-demo', title: 'Countdown'},
{name: 'component/marquee-demo', title: 'Marquee'},
{name: 'component/web-demo', title: 'Web'},
{name: 'component/navigator-demo', title: 'Navigator'},
{name: 'component/tabbar/tabbar-demo', title: 'Tabbar'},
{name: 'component/process-bar-demo', title: 'ProcessBar'},
// module
{name: 'module/instance-api', title: 'Instance API'},
{name: 'module/modal', title: 'Modal'},
{name: 'module/stream-demo', title: 'Stream'},
{name: 'module/storage-demo',title:'Storage'},
// {name: 'module/clipboard', title: 'Clipboard'}, // 0.8 , developing
// showcase
{name: 'showcase/new-fashion/index', title: 'Activity'},
{name: 'showcase/calculator', title: 'Calculator'},
{name: 'showcase/minesweeper', title: 'Minesweeper'},
{name: 'showcase/ui', title: 'UI Gallery'},
{name: 'showcase/dropdown/dropdown-demo', title: 'Dropdown'}
]
}
}
</script>