npm install -g cnpm --registry=https://registry.npm.taobao.org
cnpm install vue-piczoom --save

 

# 使用 use
--script
import PicZoom from 'vue-piczoom'
export default {
  name: 'App',
  components: {
    PicZoom
  }
}

--html
<pic-zoom url="static/aze.jpg" :scale="3"></pic-zoom>

 

相关文章:

  • 2021-07-12
  • 2022-12-23
  • 2022-12-23
  • 2021-08-04
  • 2021-04-11
  • 2022-12-23
  • 2022-12-23
  • 2021-11-18
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-23
  • 2022-12-23
  • 2021-09-24
相关资源
相似解决方案