Using V-Calendar, how can I render the calendar with it open to a specific month that's in the past? Instead of the current month.
I'm trying the following:
Html:
<v-calendar :attributes="attributes"...></v-calendar>
JS:
<script setup>
const attributes = ref([
{
id: 'some-random-id',
dates: new Date(2018,3,1)
}
])
</script>
Yet it still opens to the current month, instead of the month I want from 2018. I'm hoping to avoid doing a .move('2018-03-01')
inside of onMounted
because if I do that, then the UI does a "flicker", where it initially loads to current month, then transitions to the 2018 month. Thanks.