-
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";
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"]
/>