- Refacto the way to paginate on mobile side + Clean some useless code
- Add /dist on gitignore
- Add a button for paginate on mobile like airbnb :
- remove lodash library
- Clean css :
-- Remove float: left. / right it's old way to do css
-- Remove use v-if instead of --hidden-tablet --hidden-desktop
-- Use css grid for calendar
- Review the pagination on mobile side, use the same logique on desktop side increment an index and create month only when the index is superior to countOfMobileMonth / countOfDesktopMonth
- Review some style of mobile calendar
- Add v-if on
<Day></Day>
when day.belongsToThisMonth === false to avoid 10 day per month load for nothing at all - Increase the performance on mobile side
- Sort props by ASC
- Add v-if="isMobile" on computed when is not triggered on mobile
- Remove duplicate
<Day />
unify pagination for desktop and mobile - Create a
<DatePickerWeekRow/>
component for not duplicate content - Add a
countOfTotalMonthByDefault
props for generate x month on a created - Remove duplicate useless
<baseInput />
- Refacto the style of
<baseInput />
- Create / refacto the function for create month and put on a
mounted
part notcreated
for get the correctdevice
- Add a
v-if="months.length"
around thev-for
Screenshots :
Desktop
Mobile