DEV Community

Cover image for Nuxt Social Share module has many new features ๐ŸŽ‰
Stefano Bartoletti
Stefano Bartoletti

Posted on

Nuxt Social Share module has many new features ๐ŸŽ‰

Since it first public release about a month ago, I continued to work on the Social Share module for Nuxt, fixing some problems and adding more features.

Social Share buttons

The latest release available right now is v0.5.0 and features:

  • two more networks (Reddit and Skype)
  • more URL arguments (title, image, hashtags, etc.) for relevant social networks.
  • components now have proper aria attributes for improved accessibility.
  • in addition to the <SocialShare> component, the useSocialShare composable is exposed to the developer, providing more flexibility if needed.
  • everything has been fully ported to Typescript.
  • better modularization of code, helping both maintenance and contributions from other developers.
  • some fixes to CSSs specificity, now the styles can be fully overridden.

All of these features and more are fully documented in the repository's readme

You can install it and try it with:

# pnpm
pnpm add -D @stefanobartoletti/nuxt-social-share
# yarn
yarn add --dev @stefanobartoletti/nuxt-social-share
# npm
npm install --save-dev @stefanobartoletti/nuxt-social-share
Enter fullscreen mode Exit fullscreen mode

Check it in its repository here: https://github.com/stefanobartoletti/nuxt-social-share

Top comments (0)