This repo goes with the Build your first Polymer element tutorial.
You'll need to install some command-line tools to manage dependencies and to run the demo.
-
Download and install Node version 6.x or 7.x from https://nodejs.org/. Node includes the node package manager command,
npm
. -
Install
bower
and the Polymer CLI:npm install -g bower polymer-cli
-
Clone this repo and install dependencies in it with
bower
:bower install
-
Run the Polymer development server to preview:
polymer serve
Open
localhost:8080/components/icon-toggle/demo/
in your browser.