Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 4 days ago
JSON representation

:mega: Social sharing plugin for VuePress

Awesome Lists containing this project

README

        

# vuepress-plugin-social-share

[![CI](https://github.com/ntnyq/vuepress-plugin-social-share/workflows/CI/badge.svg)](https://github.com/ntnyq/vuepress-plugin-social-share/actions)
[![NPM VERSION](https://img.shields.io/npm/v/vuepress-plugin-social-share/next.svg)](https://www.npmjs.com/package/vuepress-plugin-social-share/v/next)
[![NPM DOWNLOADS](https://img.shields.io/npm/dy/vuepress-plugin-social-share.svg)](https://www.npmjs.com/package/vuepress-plugin-social-share)
[![LICENSE](https://img.shields.io/github/license/ntnyq/vuepress-plugin-social-share.svg)](https://github.com/ntnyq/vuepress-plugin-social-share/blob/main/LICENSE)

:mega: Social sharing plugin for [VuePress](https://v2.vuepress.vuejs.org)

:book: [Online demo and Docs](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

```bash
npm install vuepress-plugin-social-share@next -D
```

```bash
yarn add vuepress-plugin-social-share@next -D
```

```bash
pnpm add vuepress-plugin-social-share@next -D
```

## Usage

```js
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)

## Prior Art

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)