bower install social-share-buttons --save
<link rel="import" href="bower_components/social-share-buttons/social-share-buttons.html">
<social-share-buttons media="https://my-domain.com/images/my-image.jpg" url="https://my-domain.com/product/detail/my-sku" title="Product Name">
<span class="icon-social-facebook" data-id="facebook"></span>
<span class="icon-social-twitter" data-id="twitter"></span>
<span class="icon-social-pinterest" data-id="pinterest"></span>
</social-share-buttons>
Install npm (or install Node):
curl -L https://www.npmjs.com/install.sh | sh
Install bower:
npm install -g bower
Install polymer-cli:
npm install -g polymer-cli
This command serves the app at http://localhost:8080/components/social-share-buttons/
and provides basic URL
routing for the app:
polymer serve