Photoswipe in vue
import { photoSwipe, photoSwipeComponent } from 'blue-photoswipe-component';
Vue.use(photoSwipe,PhotoSwipeOptions);
Vue.component('blue-photoswipe-component',photoSwipeComponent);
v-blue-photoswipe
<div v-blue-photoswipe="{photoswipeOptions,itemTagName:'DIV'}">
<div>
<img src="" alt="">
</div>
</div>
this option is closest img parentNode tagName same this itemTagName