UNPKG

@stefanobartoletti/nuxt-social-share

Version:
74 lines (50 loc) • 3.16 kB
<picture><img src=".github/nuxt-social-share-cover.png" /></picture> <div align="center"> [![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![code quality][code-quality-src]][code-quality-href] [![License][license-src]][license-href] [![Nuxt][nuxt-src]][nuxt-href] <!-- [![bundle size][bundle-size-src]][bundle-size-href] --> Simple social sharing for your Nuxt Sites [Documentation][docs-site] | [Release Notes](/CHANGELOG.md) | [Demo](https://stefanobartoletti.github.io/nuxt-social-share/) </div> ## 🌟 Features - Provides a minimal config `<SocialShare>` component - The component is unstyled by default for easy integration in any design - Optional styled version, that can still be further customized - A `useSocialShare` composable is exposed, to provide even more flexibility if needed - Many major social networks supported ## šŸ“– Documentation The full docs are available in a dedicated [documentation website][docs-site] ## šŸ¤ Contributing > [!NOTE] > If you want to contribute you can start by reading the [Contributing guidelines](https://github.com/stefanobartoletti/nuxt-social-share/blob/master/.github/CONTRIBUTING.md). > > [!NOTE] > Contributions to add more networks are welcome, but keep in mind that PR will be accepted only for networks that have a documentation available in English among other languages. - Clone this repository - Enable [Corepack](https://github.com/nodejs/corepack) using `corepack enable` - Install dependencies using `pnpm install` - Run `pnpm dev:prepare` to generate type stubs. - Use `pnpm dev` to start [playground](./playground) in development mode. - Lint any new edit by running `pnpm lint --fix` ## šŸ“ License [MIT](https://github.com/stefanobartoletti/nuxt-social-share/blob/main/LICENSE) Ā© 2023-present [Stefano Bartoletti](https://www.stefanobartoletti.it) <!-- Badges --> [npm-version-src]: https://img.shields.io/npm/v/@stefanobartoletti/nuxt-social-share/latest.svg?style=flat&colorA=18181B&colorB=28CF8D [npm-version-href]: https://npmjs.com/package/@stefanobartoletti/nuxt-social-share [npm-downloads-src]: https://img.shields.io/npm/dm/@stefanobartoletti/nuxt-social-share.svg?style=flat&colorA=18181B&colorB=28CF8D [npm-downloads-href]: https://npmjs.com/package/@stefanobartoletti/nuxt-social-share [code-quality-src]: https://img.shields.io/codacy/grade/437177566f784faf81dc6382e0919017.svg?style=flat&colorA=18181B&colorB=28CF8D [code-quality-href]: https://app.codacy.com/gh/stefanobartoletti/nuxt-social-share [bundle-size-src]: https://img.shields.io/bundlephobia/minzip/@stefanobartoletti/nuxt-social-share.svg?style=flat&colorA=18181B&colorB=28CF8D [bundle-size-href]: https://bundlephobia.com/result?p=@stefanobartoletti/nuxt-social-share [license-src]: https://img.shields.io/npm/l/@stefanobartoletti/nuxt-social-share.svg?style=flat&colorA=18181B&colorB=28CF8D [license-href]: https://npmjs.com/package/@stefanobartoletti/nuxt-social-share [nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?logo=nuxt.js [nuxt-href]: https://nuxt.com [docs-site]: https://nuxt-social-share.stefanobartoletti.it