We provide a demo using vuepress-plugin-photo-swipe and @vuepress/theme-default for you to better understand how to use the plugin.
vuepress-plugin-photo-swipe
@vuepress/theme-default