ntnyq / vuepress-plugin-social-share

:mega: Social sharing plugin for VuePress
https://social-share.ntnyq.com
MIT License
32 stars 6 forks source link
facebook share sns social twitter vuepress vuepress-next vuepress-plugin vuepress2 vuepress2-plugin

vuepress-plugin-social-share

CI NPM VERSION NPM DOWNLOADS LICENSE

:mega: Social sharing plugin for VuePress

:book: Online demo and Docs

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

Prior Art

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

License

MIT License © 2019-PRESENT ntnyq