vue-goodshare
Vue.js component for social share. A simple way to share a link on the pages of your website in the most popular (and not so) social networks. Powered by goodshare.js project.
Features
Simple install, extensive documentation, developer support, SEO friendly, many options for customization of appearance, clean code without scripts tracking user activity on the page, high speed.
Beautiful button design already included. Just choose one, add attribute to component and save!
Requirements
- Vue.js >= 2.4.0
- vue-style-loader >= 3.0.0
- css-loader >= 0.28.0
- sass-loader >= 6.0.0
- node-sass >= 4.6.0
Install component
Usage
Init vue-goodshare
component after Vue.js in your main JavaScript file. There is two way to do this.
Single share element
Includes only needed social networks and/or mobile messengers.
Add components to HTML template (with attributes):
And result is:

Bundle of share elements
Facebook, Twitter, LinkedIn, Google Plus, Tumblr, Pinterest, Reddit
Add component to HTML template (without attributes):
And result is:

Live demo & Testing on localhost
- Clone repository from GitHub:
- Go to
examples
folder:
- Start simple Python 3.4+ HTTP server (only macOS and Linux):