This commit is contained in:
Viet An
2026-06-08 22:37:23 +07:00
parent 853f969921
commit 5f39f5b0ec
14 changed files with 285 additions and 150 deletions

View File

@@ -1,10 +1,10 @@
<template>
<span :style="color ? `color:${color}` : ''">{{ $dayjs(date).format("L") }}</span>
</template>
<script setup>
const { $dayjs } = useNuxtApp();
const props = defineProps({
date: String,
color: String,
});
</script>
<template>
<span>{{ $dayjs(date).format("L") }}</span>
</template>