This template, along with the polymer-cli toolchain, also demonstrates use
of the "PRPL pattern" This pattern allows fast first delivery and interaction with
the content at the initial route requested by the user, along with fast subsequent
navigation by pre-caching the remaining components required by the app and
progressively loading them on-demand as the user navigates through the app.
The PRPL pattern, in a nutshell:
- Push components required for the initial route
- Render initial route ASAP
- Pre-cache components for remaining routes
- Lazy-load and progressively upgrade next routes on-demand
npm install -g polymer-cli
polymer build && bower install OR polymer build && sudo bower install --allow-root
polymer serve --open
Views: always fragment in polymer.json to ensure pre-caching
polymer build
Preview:
polymer serve build/bundled
Set firebase.json to bundled build folder
firebase deploy
This command will run Web Component Tester against the browsers currently installed on your machine.
polymer test



