Skip to main content
vuepress-theme-hope

vuepress-plugin-photo-swipe

Photo swipe plugin for VuePress2

Guide 💡Config 🛠

Let your images support preview, zoom, share, swipe view and download.

How to use

Install

pnpm add -D vuepress-plugin-photo-swipe

Usage

// .vuepress/config.ts
import { photoSwipePlugin } from "vuepress-plugin-photo-swipe";

export default {
  plugins: [
    photoSwipePlugin({
      // your options
    }),
  ],
};

Migrating from V1

For details, see Migration Guide.