Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 354 Bytes

README.md

File metadata and controls

28 lines (24 loc) · 354 Bytes

vue-zoom

Install / Usage

$ npm install vue-zoom
<template>
   <div id="app">
      <v-zoom :img="img" :width="width"></v-zoom>
   </div>
</template>

<script>
import vZoom from 'vue-zoom'
export default {
  components: {vZoom},
  data() {
     return {
        img: 'photo.jpg',
        width: 500
     }
  }
}
</script>