praveenpuglia / vuetify-daterange-picker

The missing date range picker for Vuetify JS you have been looking for.
https://vuetify-daterange-picker.gitbook.io/docs
MIT License
197 stars 59 forks source link

Does not work with Nuxt.js #43

Closed eliyas5044 closed 5 years ago

eliyas5044 commented 5 years ago

Hi, thanks for your awesome plugin :) I used this with Vue.js and worked fine. But in my current project, it's not working.

Environments:

"nuxt": "^2.4.3",
"vuetify": "^1.5.0",
"vuetify-daterange-picker": "^2.6.2"

Edit nuxt-vuetify

appreciate your help :)

praveenpuglia commented 5 years ago

Hi!

I built a new version from ground up keeping simplicity of use in mind. Can you please try it out and let me know if that works for you?

P.S - I still need to add the option to pass in presets.

https://vuetify-daterange-picker.gitbook.io/docs/

praveenpuglia commented 5 years ago

Also, in your codesandbox demo, I see this. Is that intended?

image
alvinthen commented 5 years ago

FYI, I need to disable ssr in my nuxt-config.js in order to use this.

plugins: [
  { src: '~/plugins/datepicker.js', ssr: false }
],
praveenpuglia commented 5 years ago

Hi!

Can you please try the latest version of the component 3.1.1 and see if that works? Note - the new version has breaking changes.

eliyas5044 commented 5 years ago

@praveenpuglia sorry, I was on vacation. I will try the new version and let you know. Thanks for your attention.