forked from alibaba/weex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.we
45 lines (43 loc) · 1.82 KB
/
index.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
<template>
<example-list items="{{items}}" root="{{root}}"></example-list>
</template>
<script>
require('./include/example-list.we');
module.exports = {
data: {
root: 'examples',
items: [
// `name` key is the example filename without '.we'
// Support sub directory, e.g. 'new-fashion/index'
{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'},
// module
{name: 'module/instance-api', title: 'Instance API'},
{name: 'module/modal', title: 'Modal'},
{name: 'module/stream-demo', title: 'Stream'},
// showcase
{name: 'showcase/new-fashion/index', title: 'Activity'},
{name: 'showcase/calculator', title: 'Calculator'},
{name: 'showcase/minesweeper', title: 'Minesweeper'},
{name: 'showcase/ui', title: 'UI Gallery'}
]
}
}
</script>