<script setup>
import { ref } from 'vue'
import CCalendar from '../CCalendar.vue'

const data = ref({
  year: new Date().getFullYear(),
  month: new Date().getMonth() + 1,
  day: new Date().getDate(),
  dayOfWeek: new Date().getDay(),
})
</script>

<template>
  date:{{ data.year }}/{{ data.month }}/{{ data.day }}({{ data.dayOfWeek }})
  <CCalendar v-model="data" p_Color="_primary" />
</template>

<style>
:root {
  --q-primary: #5e421d;
}
</style>
