1.47.0 • Published 5 years ago
@base-cms/marko-web-social-sharing v1.47.0
BaseCMS Marko Web Social Sharing Components
Installation
Include
@base-cms/marko-web-social-sharing
as a project/website dependency.Include the Browser plugin.
// your-site/browser/index.js
import SocialSharing from '@base-cms/marko-web-social-sharing/browser';
SocialSharing(Browser);
// ...
export default Browser;
- Include the default styles:
@import "../../node_modules/@base-cms/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"]
/>