mya-ake / vue-window-size

Provides reactivity window size properties for Vue.js
https://www.npmjs.com/package/vue-window-size
MIT License
122 stars 5 forks source link

Compatibility with vue@3.2 #434

Closed BatyrSeven closed 1 year ago

BatyrSeven commented 1 year ago

An attempt to install vue-window-size@1.0.8 in the project with vue@3.2.45 results in the error:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: test@1.0.0
npm ERR! Found: vue@3.2.45
npm ERR! node_modules/vue
npm ERR!   vue@"^3.2.45" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer vue@"^2.7.0" from vue-window-size@1.0.8
npm ERR! node_modules/vue-window-size
npm ERR!   vue-window-size@"*" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /.npm/eresolve-report.txt for a full report.

Is vue-window-size compatible with vue@3.2?

mya-ake commented 1 year ago

@BatyrSeven Thanks for your report! Please use vue-window-size@1.1.2.

The version of latest was the old version. I will fix it later. Sorry.

mya-ake commented 1 year ago

I think this is resolved, so I'm closing it.