@mindful-web/marko-web-social-sharing
v1.0.1
Published
Social Sharing Marko/Vue components for Mindful Web websites
Downloads
1,597
Readme
Mindful Web Marko Web Social Sharing Components
Installation
Include
@mindful-web/marko-web-social-sharing
as a project/website dependency.Include the Browser plugin.
// your-site/browser/index.js
import SocialSharing from '@mindful-web/marko-web-social-sharing/browser';
SocialSharing(Browser);
// ...
export default Browser;
- Include the default styles:
@import "@mindful-web/marko-web-social-sharing/scss/buttons";
Usage
Include the sharing component where you'd like the icons to appear:
<marko-web-social-sharing
path=content.siteContext.path
providers=["email", "facebook", "linkedin", "twitter", "pinterest", "print"]
/>