Comments (11)
@skmbr thanks, i am looking right now
from vue-pinch-scroll-zoom.
Thank you!
from vue-pinch-scroll-zoom.
@skmbr fixed, I have just updated package. plz install the newest 4.2.2, and let me know if it works?
from vue-pinch-scroll-zoom.
@skmbr and plz note that you need to set
:width="…"
:height="…"
These required properties
from vue-pinch-scroll-zoom.
Ok... that sorted the original error, now I get this in the console:
from vue-pinch-scroll-zoom.
@skmbr Please provide your code
from vue-pinch-scroll-zoom.
As in my original post, but with height and width added:
<template>
<PinchScrollZoom width="200" height="200">
<img src="/test.png"/>
</PinchScrollZoom>
</template>
<script setup>
import PinchScrollZoom from '@coddicat/vue-pinch-scroll-zoom'
</script>
from vue-pinch-scroll-zoom.
If I replace my main App.vue with the above code I get slightly less errors:
from vue-pinch-scroll-zoom.
@skmbr I mean - how do you use your component?
where did you put it? If you can provide your entire project it will be easier to figure out
from vue-pinch-scroll-zoom.
Can't share the entire project, but I'll try and spin up a new Quasar project tomorrow and see if it still does it with that!
from vue-pinch-scroll-zoom.
So I can't say I exactly understand this, but with the help of this SO post...
... and setting this in my Vite config:
viteConf.resolve.dedupe = ['vue']
I do now have it working!
from vue-pinch-scroll-zoom.
Related Issues (12)
- Docs : Miss the needed dependency vue-property-decorator HOT 2
- Vue 3 Support HOT 9
- Full viewport size HOT 2
- Width and Height are not reactive HOT 2
- How to disable scrolling and panning HOT 3
- Unable to resolve dependency trees
- Off positioned cursor/touch origin HOT 1
- Rewrite into standard Vue component HOT 1
- Error when trying to change translate-x and translate-y props HOT 3
- Within flag doesn't work if the content larger than container
- Component overwrites default right-click behaviour of images HOT 4
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 vue-pinch-scroll-zoom.