bower install messaging-tools --saveRemember to also include a firebase-app element with the message-sender-id set.
<link rel="import" href="bower_components/messaging-tools/messaging-subscribe-toggle.html">
<messaging-subscribe-toggle id="toggle"
topic="test-topic"
value="Subscribe to test-topic"></messaging-subscribe-toggle>Install npm (or install Node):
curl -L https://www.npmjs.com/install.sh | shInstall bower:
npm install -g bowerInstall polymer-cli:
npm install -g polymer-cliThis command serves the app at http://localhost:8080/components/messaging-tools/ and provides basic URL
routing for the app:
polymer serve