forked from devsam/core
- eslint에 prettier 조합 - prettierrc에 width 120, tabWidth 2 - gameStor->map_theme 제거 - map_theme, mapTheme를 GameConst::$mapName으로 대체 - eslint에서 vue/vue3-essential 대신 vue3-recommended 적용 - vue/max-attributes-per-line 완화 - vue/v-on-event-hyphenation 해제 - vue/attribute-hyphenation 해제 - 일부 tsc import type warning 해결 - 일부 vue template type warning 해결 - 일부 vue SFC를 script setup으로 변경 - TipTap - TopBackBar - BottomBackBar - BoardArticle - ProcessCity
32 lines
739 B
Vue
32 lines
739 B
Vue
<template>
|
|
<div class="row gx-0 comment s-border-b">
|
|
<div class="authorName center d-grid">
|
|
<div class="align-self-center">
|
|
{{ comment.author }}
|
|
</div>
|
|
</div>
|
|
<div class="col text">
|
|
{{ comment.text }}
|
|
</div>
|
|
<div class="col-2 col-md-1 date center d-grid">
|
|
<div class="align-self-center">
|
|
{{ comment.date.slice(5, 16) }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
<script lang="ts">
|
|
import type { BoardCommentItem } from "@/PageBoard.vue";
|
|
import { defineComponent, type PropType } from "vue";
|
|
|
|
export default defineComponent({
|
|
name: "BoardComment",
|
|
props: {
|
|
comment: {
|
|
type: Object as PropType<BoardCommentItem>,
|
|
required: true,
|
|
},
|
|
},
|
|
});
|
|
</script>
|