This is an example project for how you can build a Progressive Web Application with Polymer and Vaadin Elements.
The application uses a ServiceWorker to cache the Application Shell. A WebApp Manifest file ensures that the browser identifies our app as a Progressive Web Application and offers the user to install the application through an install banner.
Try the live demo of the Progressive Web Application.
You need polymer-cli installed to build the app npm install -g polymer-cli
.
Install all dependencies with bower install && npm install
.
polymer serve
will run the application locally
You can use the included Dockerfile
to deploy the built app using prpl-server.
You can build the app with polymer build
. Other options are listed in the Polymer CLI documentation.
The demo uses Vaadin Charts, which will ask for a license. You can close the window to try out the app without a license.