Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 911 Bytes

README.md

File metadata and controls

48 lines (33 loc) · 911 Bytes

vue-photo-zoom-pro

Vue picture magnifier(Vue 2 & Vue 3)

example

Install

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

Usage

<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>

Documentation

Check out our docs at https://mater1996.github.io/vue-photo-zoom-pro/guide/.

License

MIT

Copyright (c) 2018-present, mater1996