https://github.com/ntnyq/vuepress-plugin-social-share
:mega: Social sharing plugin for VuePress
https://github.com/ntnyq/vuepress-plugin-social-share
facebook share sns social twitter vuepress vuepress-next vuepress-plugin vuepress2 vuepress2-plugin
Last synced: 2 months ago
JSON representation
:mega: Social sharing plugin for VuePress
- Host: GitHub
- URL: https://github.com/ntnyq/vuepress-plugin-social-share
- Owner: ntnyq
- License: mit
- Created: 2019-08-11T04:37:35.000Z (almost 6 years ago)
- Default Branch: next
- Last Pushed: 2025-03-31T07:13:42.000Z (3 months ago)
- Last Synced: 2025-03-31T08:24:05.449Z (3 months ago)
- Topics: facebook, share, sns, social, twitter, vuepress, vuepress-next, vuepress-plugin, vuepress2, vuepress2-plugin
- Language: TypeScript
- Homepage: https://social-share.ntnyq.com
- Size: 3.06 MB
- Stars: 36
- Watchers: 2
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vuepress-plugin-social-share
[](https://github.com/ntnyq/vuepress-plugin-social-share/actions)
[](https://www.npmjs.com/package/vuepress-plugin-social-share/v/next)
[](https://www.npmjs.com/package/vuepress-plugin-social-share)
[](https://github.com/ntnyq/vuepress-plugin-social-share/blob/main/LICENSE):mega: Social sharing plugin for [VuePress](https://v2.vuepress.vuejs.org)
:book: [Online docs and examples](https://social-share.ntnyq.com)
If you are upgrading this plugin to v2, See [Migration guide from v1](https://social-share.ntnyq.com/guide/#migration-from-v1).
## ⚠️ Note
Still using VuePress v1?
Please Checkout branch [main](https://github.com/ntnyq/vuepress-plugin-social-share/tree/main) for detail.
## Install
```shell
npm install vuepress-plugin-social-share@next -D
``````shell
yarn add vuepress-plugin-social-share@next -D
``````shell
pnpm add vuepress-plugin-social-share@next -D
```## Usage
```ts
import { defineUserConfig } from 'vuepress'
import { socialSharePlugin } from 'vuepress-plugin-social-share'export default defineUserConfig({
plugins: [socialSharePlugin()],
})
```:mag: [Custom options detail](https://social-share.ntnyq.com/guide/#options)
## Credits
Deeply thank to [vue-social-sharing](https://github.com/nicolasbeauvais/vue-social-sharing) for the component api source code.
## License
[MIT](./LICENSE) License © 2019-PRESENT [ntnyq](https://github.com/ntnyq)