V-calendar: DatePicker component's name collides with Vuetify DatePicker

Created on 8 Jan 2018  路  4Comments  路  Source: nathanreyes/v-calendar

Hi, DataPicker component collides with component with same name from Vuetify library.
Can you please add the 'componentPrefix' option to make this component unique?
Best regards
Karel

enhancement

Most helpful comment

You can pass componentPrefix as an option when using VCalendar.

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

Then when using in template

<template>
  <vc-calendar>
  </vc-calendar>
</template>

All 4 comments

Any progress?

You can pass componentPrefix as an option when using VCalendar.

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

Then when using in template

<template>
  <vc-calendar>
  </vc-calendar>
</template>

Hello @nathanreyes @VishalGulati

Even by adding componentPrefix, I am still facing a problem. The v-calendar date picker is always taking precedence over the Vuetity one. Any idea why?

The moment I remove the import VCalendar from 'v-calendar'; the Vuetify calendar works again.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

miralize picture miralize  路  4Comments

jvincent3 picture jvincent3  路  4Comments

redraw picture redraw  路  3Comments

Nadavrbn picture Nadavrbn  路  3Comments

garygreen picture garygreen  路  3Comments