Skip to main content
vuepress-theme-hope

vuepress-plugin-photo-swipe

Photo swipe plugin for VuePress2

GuideConfig

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

How to use

Install

pnpm
pnpm add -D vuepress-plugin-photo-swipe

Usage

TS
import { photoSwipePlugin } from "vuepress-plugin-photo-swipe";

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

Migrating from V1

For details, see Migration Guide.