vue-photo-view

vue plugin: vue photo view based on photoswipe


License
MIT
Install
npm install vue-photo-view@1.0.0

Documentation

vue-photo-view

安装

$ npm install vue-photo-view --save
<script src="path/to/vue-photo-view.js"></script>

使用

import photoView from 'vue-photo-view'
Vue.use(photoView)
<img src=""preview="1" preview-text="...">
<img src=""preview="1" preview-text="...">