@parameter1/base-cms-marko-web-social-sharing
v4.74.0
Published
Social Sharing Marko/Vue components for BaseCMS websites
Downloads
3,568
Keywords
Readme
BaseCMS Marko Web Social Sharing Components
Installation
Include
@parameter1/base-cms-marko-web-social-sharing
as a project/website dependency.Include the Browser plugin.
// your-site/browser/index.js
import SocialSharing from '@parameter1/base-cms-marko-web-social-sharing/browser';
SocialSharing(Browser);
// ...
export default Browser;
- Include the default styles:
@import "@parameter1/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"]
/>