| author | Alexandre Segura <mex.zktk@gmail.com> |
| Mon, 20 Feb 2017 17:29:55 +0100 | |
| changeset 323 | 55c024fc7c60 |
| child 326 | b962ae792616 |
| permissions | -rw-r--r-- |
<template> <div v-show="comments.length > 0"> <label class="form-label">Commentaires</label> <comment ref="comments" v-for="comment in comments" v-bind:comment="comment.comment" v-bind:username="comment.user_name" v-bind:date="comment.submit_date"></comment> </div> </template> <script> import Comment from './Comment.vue' export default { components: { Comment }, data() { return { 'comments': [] } }, } </script>