@binalogue/vue-social-media
v1.0.5
Published
Vue component for social sharing.
Downloads
4
Readme
@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.