0👍
Try this (i can’t check it)
:class="{
active: isActive,
between: isBetween,
}"
// why exist a space in "choosing dates(date)" ???
@click="choosingDates(date)"
computed: {
isBetween() {
return between.includes(date)
},
isActive() {
return currentMonthInNumber + '/' + date + '/' + currentYear === firstDay || currentMonthInNumber + '/' + date + '/' + currentYear === lastDay
}
}
Source:stackexchange.com