diff --git a/src/components/EventCard/EventCard.vue b/src/components/EventCard/EventCard.vue deleted file mode 100644 index d69380a..0000000 --- a/src/components/EventCard/EventCard.vue +++ /dev/null @@ -1,78 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/cpmCard.vue b/src/components/cpmCard.vue index 1059930..75d00dc 100644 --- a/src/components/cpmCard.vue +++ b/src/components/cpmCard.vue @@ -29,11 +29,36 @@

{{cardData.description}}

- + Comentários - - {{comment.user.name}}: {{comment.comment}} + + +
+ + + mdi-account-circle + avatar + + + {{ item.comments[0].user.name }}: + +

{{ item.comments[0].comment }}

+
+ + + + + + Enviar + +
@@ -47,11 +72,14 @@ export default { name: 'Card', props: ['cardData'], - data() { - return { - - } - }, + data:() => ({ + cardDataArray: [], + newComent:'' + }), + + created(){ + this.cardDataArray.push(this.cardData) + } }