diff --git a/src/components/board/BoardComment.vue b/src/components/board/BoardComment.vue index e71b3ee..a06851e 100644 --- a/src/components/board/BoardComment.vue +++ b/src/components/board/BoardComment.vue @@ -1,56 +1,74 @@ diff --git a/src/components/board/BoardCommentList.vue b/src/components/board/BoardCommentList.vue new file mode 100644 index 0000000..6384fa5 --- /dev/null +++ b/src/components/board/BoardCommentList.vue @@ -0,0 +1,52 @@ + + + \ No newline at end of file diff --git a/src/components/board/BoardProfile.vue b/src/components/board/BoardProfile.vue index 5e925ec..9640046 100644 --- a/src/components/board/BoardProfile.vue +++ b/src/components/board/BoardProfile.vue @@ -1,30 +1,45 @@ @@ -41,7 +56,7 @@ import { onMounted } from 'vue'; const router = useRouter(); // Props 정의 -const props = defineProps({ +defineProps({ profileName: { type: String, default: '익명', @@ -54,17 +69,9 @@ const props = defineProps({ type: Boolean, default: true, }, - // author: { - // type: Boolean, - // default: true, - // }, - views: { - type: Number, - default: 0, - }, - comments: { - type: Number, - default: 0, + author: { + type: Boolean, + default: false, }, }); @@ -91,10 +98,26 @@ const handleDelete = async () => { diff --git a/src/components/button/BoardRecommendBtn.vue b/src/components/button/BoardRecommendBtn.vue index d2452b1..71fae76 100644 --- a/src/components/button/BoardRecommendBtn.vue +++ b/src/components/button/BoardRecommendBtn.vue @@ -1,4 +1,4 @@ -