Comments (6)
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.
i have same issue
from vuetify-daterange-picker.
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.
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.
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 doingyarn
added them back to dependencies.So, I had to do an
npm install
those three modules and then remove the generatedpackage-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.
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)
- Error HOT 1
- How to change 'apply', 'close' buttons and menu activator? HOT 2
- Allow to change dates from inputs HOT 2
- How to reset daterange value? HOT 6
- Markup is broken HOT 1
- Update range on model change HOT 3
- Install failed first attempt HOT 3
- Lack of documentation based on promoted examples HOT 2
- Presents don't show in UI HOT 1
- License HOT 1
- add live examples with v3 HOT 1
- Date range picker witout dialog HOT 2
- Can't Supported Mobile Site HOT 4
- Dialog action button text config (Localisation support) HOT 2
- Change value prop HOT 1
- Update for Vuetify 2 HOT 12
- Date format issue HOT 8
- Cannot find module "vuetify/lib" HOT 5
- No typescript support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vuetify-daterange-picker.