nathanreyes / v-calendar

An elegant calendar and datepicker plugin for Vue.
https://vcalendar.io
MIT License
4.39k stars 859 forks source link

v-date-picker was duplicated with key of vuetify #187

Closed hanhtv204 closed 6 years ago

hanhtv204 commented 6 years ago

I am going to use feature range date of v-date-picker. But I also use v-date-picker of veutify. It was be conflict by v-date-picker key I think v-date-picker should be export as a independent component like v-calendar.

maxdobeck commented 6 years ago

FYI I ran into this as well. Component names are identical.

Vuetify ---> https://vuetifyjs.com/en/components/date-pickers V-Calendar ---> https://docs.vcalendar.io/#date-picker

Looks like this was addressed in #37 though. Including for any other googler. Or anyone getting errors like below: Invalid prop: type check failed for prop "value". Expected String, got Date. Error in data(): "TypeError: dateString.split is not a function"

maxdobeck commented 6 years ago

@htran78 I would use the prefix suggested in #37:

Vue.use(VCalendar, {
  componentPrefix: 'vc'
})

I was able to get the v-calendar v-date-picker component working.

nathanreyes commented 6 years ago

If you scroll to the bottom of the readme, there is the documentation for componentPrefix.

hanhtv204 commented 6 years ago

Thanks all. I missed. Thank you so much for your support.

On Sun, Sep 2, 2018, 04:14 Nathan Reyes notifications@github.com wrote:

Closed #187 https://github.com/nathanreyes/v-calendar/issues/187.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nathanreyes/v-calendar/issues/187#event-1822027940, or mute the thread https://github.com/notifications/unsubscribe-auth/ALGh6vMvQSPhqxFtO7O8FSX4YUT7Bspgks5uWvjHgaJpZM4WKuJ3 .

parv1zz commented 1 month ago

How to do it with nuxtjs?