diff options
| author | Roger Braun <roger@rogerbraun.net> | 2016-10-28 15:19:42 +0200 |
|---|---|---|
| committer | Roger Braun <roger@rogerbraun.net> | 2016-10-28 15:19:42 +0200 |
| commit | 534f2e8195523ffae83ed85f4e9fddf2939929e3 (patch) | |
| tree | 5504c7406234c448b80d00367e3ff1d87b0b35dd /src/components/timeline | |
| parent | f8d6fe41f0c639ce1c3f8072ef94de8e3419f1cf (diff) | |
Basic statuses.
Diffstat (limited to 'src/components/timeline')
| -rw-r--r-- | src/components/timeline/timeline.js | 9 | ||||
| -rw-r--r-- | src/components/timeline/timeline.vue | 3 |
2 files changed, 8 insertions, 4 deletions
diff --git a/src/components/timeline/timeline.js b/src/components/timeline/timeline.js index 727008ad..fd36d0db 100644 --- a/src/components/timeline/timeline.js +++ b/src/components/timeline/timeline.js @@ -1,7 +1,12 @@ +import Status from '../status/status.vue' + const Timeline = { props: [ 'timeline' - ] + ], + components: { + Status + } } -export default Timeline; +export default Timeline diff --git a/src/components/timeline/timeline.vue b/src/components/timeline/timeline.vue index cf712796..562656f6 100644 --- a/src/components/timeline/timeline.vue +++ b/src/components/timeline/timeline.vue @@ -1,7 +1,6 @@ <template> <div class="timeline"> - <h1>Timeline goes here</h1> - <h2 v-for="status in timeline.visibleStatuses">{{status.text}}</h2> + <status v-for="status in timeline.visibleStatuses" v-bind:status="status"></status> </div> </template> <script src="./timeline.js"></script> |
