vuepress-plugin-social-share

February 25, 2025 · View on GitHub

CI NPM VERSION NPM DOWNLOADS LICENSE

:mega: Social sharing plugin for VuePress

:book: Online docs and examples

If you are upgrading this plugin to v2, See Migration guide from v1.

⚠️ Note

Still using VuePress v1?

Please Checkout branch main for detail.

Install

npm install vuepress-plugin-social-share@next -D
yarn add vuepress-plugin-social-share@next -D
pnpm add vuepress-plugin-social-share@next -D

Usage

import { defineUserConfig } from 'vuepress'
import { socialSharePlugin } from 'vuepress-plugin-social-share'

export default defineUserConfig({
  plugins: [socialSharePlugin()],
})

:mag: Custom options detail

Credits

Deeply thank to vue-social-sharing for the component api source code.

License

MIT License © 2019-PRESENT ntnyq