Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DatePicker component's name collides with Vuetify DatePicker #37

Closed
knagyorg opened this issue Jan 8, 2018 · 4 comments
Closed

DatePicker component's name collides with Vuetify DatePicker #37

knagyorg opened this issue Jan 8, 2018 · 4 comments
Assignees

Comments

@knagyorg
Copy link

knagyorg commented Jan 8, 2018

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

@paladin2005
Copy link

Any progress?

@nathanreyes
Copy link
Owner

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>

@VishalGulati
Copy link

Saved my day!! #442

@bhaidar
Copy link

bhaidar commented May 4, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants