Closed hanhtv204 closed 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"
@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.
If you scroll to the bottom of the readme, there is the documentation for componentPrefix
.
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 .
How to do it with nuxtjs?
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.