Git Product home page Git Product logo

Comments (6)

praveenpuglia avatar praveenpuglia commented on June 8, 2024 1

I moved to devDependencies so I can do dev work and still not get into a localVue vs globalVue conflict.

This should have been very obvious that I need to use devDependences for dev work

Ref -
a55a7c9

from vuetify-daterange-picker.

figurluk avatar figurluk commented on June 8, 2024

i have same issue

from vuetify-daterange-picker.

praveenpuglia avatar praveenpuglia commented on June 8, 2024

On initial inspection it doesn't look like a bug in the component at all.
Read more - yariksav/vuetify-confirm#9

It looks like something has changed about how vuetify gets installed and in vuetify's code and this.$vuetify is undefined.

Can you please put your App.vue, main.js and vuetify plugin installation code?

from vuetify-daterange-picker.

praveenpuglia avatar praveenpuglia commented on June 8, 2024

I somehow seem to have fixed it in 3.1.6.
It's a weird thing and I am not sure of is right or wrong.

I had to remove vue, vuetify, and date-fns from dependencies and add them to peerDependencies. But then doing yarn added them back to dependencies.

So, I had to do an npm install those three modules and then remove the generated package-lock.json so i would still have them in my node modules but not in dependencies.

Then built and published.

Can you all try the 3.1.6 release and see if that solves?

from vuetify-daterange-picker.

lukaVarga avatar lukaVarga commented on June 8, 2024

I somehow seem to have fixed it in 3.1.6.
It's a weird thing and I am not sure of is right or wrong.

I had to remove vue, vuetify, and date-fns from dependencies and add them to peerDependencies. But then doing yarn added them back to dependencies.

So, I had to do an npm install those three modules and then remove the generated package-lock.json so i would still have them in my node modules but not in dependencies.

Then built and published.

Can you all try the 3.1.6 release and see if that solves?

@praveenpuglia the date-fns seem to be a dependency, though, as adding the vuetify-daterange-picker@3 now breaks build:

This dependency was not found:   
* date-fns in ./node_modules/vuetify-daterange-picker/dist/vuetify-daterange-picker.common.js 
                                                                                                                 
To install it, you can run: npm install --save date-fns 

from vuetify-daterange-picker.

praveenpuglia avatar praveenpuglia commented on June 8, 2024

That is correct. It is because I expect the application developer to install that library. And that is because I want one single version of date-fns being used in case the author also wants to use date-fns for other parts of the application.

from vuetify-daterange-picker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.