vuepress-plugin-photo-swipe

Photo Swipe plugin for vuepress

Usage no npm install needed!

<script type="module">
  import vuepressPluginPhotoSwipe from 'https://cdn.skypack.dev/vuepress-plugin-photo-swipe';
</script>

README

vuepress-plugin-photo-swipe

VuePress图片预览插件🔍 / VuePress photo preview plugin🔍

Version Downloads Size

Official Docs / 官方文档

Install

npm i -D vuepress-plugin-photo-swipe

Or

yarn add -D vuepress-plugin-photo-swipe

Migration from V1

  • option delay, which means the delay finding images when page loaded or navigated new

  • option locale to support i18n config new


安装

npm i -D vuepress-plugin-photo-swipe

yarn add -D vuepress-plugin-photo-swipe

从 V1 迁移

  • 选项 delay,控制页面加载和切换后寻找页面图片的延迟 新增

  • 选项 locale 以支持国际化配置 新增