Vue picture magnifier(Vue 2 & Vue 3)
npm install vue-photo-zoom-pro
# In Vue 2 project
npm i vue-photo-zoom-pro@2.x
# or
yarn add vue-photo-zoom-pro
# In Vue 2 project
yarn add vue-photo-zoom-pro@2.x
<template>
<vue-photo-zoom-pro :url="imgUrl" :high-url="imgHighUrl"></vue-photo-zoom-pro>
</template>
<script>
import vuePhotoZoomPro from 'vue-photo-zoom-pro'
import 'vue-photo-zoom-pro/dist/style/vue-photo-zoom-pro.css'
export default {
components: {
vuePhotoZoomPro,
},
}
</script>
Check out our docs at https://mater1996.github.io/vue-photo-zoom-pro/guide/.
Copyright (c) 2018-present, mater1996