The video for this lesson is currently being updated, please read the transcript instead.

Adding days to day-select

Looking at the finished product, we can see that the day select displays an inline list of days, starting from today, and finishing the date a week from now.

Generating list of days using dayjs

Let's now add a script tag to the component and import the dayjs library to help us working with dates.

To view the complete lesson you'll need to login or join this course.


Click to load comments...