ShowComment
file: code/ShowComment.vue
1: <template>
2: <li class="senph-comment">
3: <div class="senph-comment-from">
4: <span class="senph-comment-username">{{ comment.user_name }}</span>
5: wrote on
6: <span class="senph-comment-created">{{ comment.created }}</span>
7: </div>
8: <VueMarkdown>{{ comment.body }}</VueMarkdown>
9: <AddComment :replyTo="commentUrl(comment)" />
10:
11: <ul class="senph-replies">
12: <ShowComment
13: v-for="reply in comment.comments"
14: :comment="reply"
15: :topicUrl="topicUrl"
16: :key="reply.ident"
17: />
18: </ul>
19: </li>
20: </template>