From b88e2fe28a8aec867b41aea4e1240fb5787be36d Mon Sep 17 00:00:00 2001 From: jhynsoo Date: Wed, 15 May 2024 17:59:45 +0900 Subject: [PATCH] Feat: Add comment component --- src/components/article/CommentArea.vue | 23 ++++++++ src/components/article/CommentForm.vue | 81 ++++++++++++++++++++++++++ src/components/article/CommentItem.vue | 50 ++++++++++++++++ src/components/article/CommentList.vue | 33 ++--------- 4 files changed, 159 insertions(+), 28 deletions(-) create mode 100644 src/components/article/CommentArea.vue create mode 100644 src/components/article/CommentForm.vue create mode 100644 src/components/article/CommentItem.vue diff --git a/src/components/article/CommentArea.vue b/src/components/article/CommentArea.vue new file mode 100644 index 0000000..db30093 --- /dev/null +++ b/src/components/article/CommentArea.vue @@ -0,0 +1,23 @@ + + + + + diff --git a/src/components/article/CommentForm.vue b/src/components/article/CommentForm.vue new file mode 100644 index 0000000..fca509f --- /dev/null +++ b/src/components/article/CommentForm.vue @@ -0,0 +1,81 @@ + + + + + diff --git a/src/components/article/CommentItem.vue b/src/components/article/CommentItem.vue new file mode 100644 index 0000000..bdaf265 --- /dev/null +++ b/src/components/article/CommentItem.vue @@ -0,0 +1,50 @@ + + + + + diff --git a/src/components/article/CommentList.vue b/src/components/article/CommentList.vue index 678e562..81e0ea0 100644 --- a/src/components/article/CommentList.vue +++ b/src/components/article/CommentList.vue @@ -1,41 +1,18 @@