Let's set yourself up to build your own awesome Progressive Web App with Polymer!
Before you can start installing Polymer you require the following:
Node.js - check out the StackOverflow Installing Node.js Documentation
Bower - you can install Bower using the Node Package Manager installed with Node.js:
npm install -g bower
The Polymer CLI provides you with all tools needed for Polymer Projects:
npm install -g polymer-cli
Use polymer init
to initialize your app from an app template.
A cool template is the --app-drawer-template
. Let's use that:
polymer init app-drawer-template
There is no building needed to serve your first awesome Polymer app. Just serve
it:
polymer serve --open
This will open the app in your default browser on http://localhost:8080
.