localhost-front/src/views/board/BoardView.vue

37 lines
1.1 KiB
Vue

<template>
<div class="container-xxl flex-grow-1 container-p-y">
<div class="row">
<div class="col">
<div class="card">
<div class="card-header">
<BoardProfile profileName="만드레야2"/>
</div>
<div class="card-body">
<BoardContent boardTitle="제목1" boardContent="내용1" :dropdownItems="dropdownItems" />
<BoardComentArea />
</div>
<div class="card-footer">
<BoardComment />
</div>
</div>
</div>
</div>
</div>
</template>
<script setup>
import BoardComentArea from '@/components/board/BoardComentArea.vue';
import BoardComment from '@/components/board/BoardComment.vue';
import BoardContent from '@/components/board/BoardContent.vue';
import BoardProfile from '@/components/board/BoardProfile.vue';
import { ref } from 'vue';
const dropdownItems = ref([
{ label: '내용1'},
{ label: '내용2'},
{ label: '내용3'},
]);
</script>