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@next

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.