The Polymer is a library designed to make it easier and faster for developers to create great, reusable components for the modern web. Read more...
The easiest way to install Polymer is through Bower, a package manager for the web. Rob Dodson, a developer advocate at Google has uploaded an excellent video for Setting up Bower and Polymer.
If you already have Bower set up, you can check Installing with Bower. Optionally, you can Install Polymer from ZIP files.
Create bower.json file at the root of the project with the command:
bower init
Install Polymer with the command:
bower install --save polymer
It is mandatory to use --save flag with bower install because it updates bower.json file. This is done to exclude the dependencies while distributing and maintaining the source code. The dependencies can be easily fetched using the command:
bower install
Which grabs the dependencies listed in the bower.json file.
Add .gitignore file to ignore all the files and folder in bower_components/ folder.
Polymer requires a http server. Read more...