You can add min max date range to disable dates in number of ways: docs
<template>
<datepicker :disabledDates="disabledDates"></datepicker>
</template>
<script>
import Datepicker from 'vuejs-datepicker';
export default {
data() {
return {
disabledDates: {
to: new Date(new Date().getFullYear(), new Date().getMonth()-2, 5), // Disable all dates up to specific date
from: new Date(new Date().getFullYear(), new Date().getMonth()+2, 26), // Disable all dates after specific date
daysOfMonth: [8, 11, 17], // Disable Specific days
}
}
},
components: {
Datepicker
}
}
</script>