Skip to content

binalogue/vue-social-media

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

33 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Binalogue - welovedesign&welovetodesign

@binalogue/vue-social-media

A Vue component for social sharing.

Getting Started

Installing

# yarn
yarn add @binalogue/vue-social-media
# npm
npm install @binalogue/vue-social-media --save

Usage

Once installed, it can be used in a Vue file as simply as:

import { Facebook, Twitter, WhatsApp } from '@binalogue/vue-social-media';

export default {
  components: {
    Facebook,
    Twitter,
    WhatsApp,
  },
};
<Facebook url="https://example.com">
  <!-- Your code. Example: -->
  <IconFacebook />
</Facebook>

<Twitter url="https://example.com" text="Hello World!">
  <IconTwitter />
</Twitter>

<WhatsApp url="https://example.com" text="Hello World!">
  <IconWhatsApp />
</WhatsApp>

Built With

  • Vue - The Progressive JavaScript Framework

Authors

Changelog

Please see CHANGELOG for more information on what has changed recently.

License

The MIT License (MIT). Please see License File for more information.