Recently, I've been working with vue.js and I've come across an issue regarding how to apply a class to past and future days of the current month. Specifically, for March, I need to disable days with numbers 24, 25, 26, 27, 28, 29 in the first row, as well as the last row with numbers 1, 2, 3, 4, 5. To handle this, I created a custom class called "disabled" in the CSS.
Here's the Codepen link for reference:
[Codepen] https://codepen.io/mbole87/pen/bGdxgrX
If anyone has any advice or suggestions on how to solve this issue, I would greatly appreciate it!
Thank you!