V-calendar: v-date-picker was duplicated with key of vuetify

Created on 24 Aug 2018  Â·  4Comments  Â·  Source: nathanreyes/v-calendar

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.

Most helpful comment

@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.

All 4 comments

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
.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

garygreen picture garygreen  Â·  3Comments

felixfrtz picture felixfrtz  Â·  3Comments

octaviangrozman picture octaviangrozman  Â·  4Comments

neel picture neel  Â·  3Comments

sokolovdm picture sokolovdm  Â·  3Comments