Progressive Web App with full offline capabilities
The application uses a Service Worker to cache the Application Shell. A Web App 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.
Fork this repository and clone it locally.
Make sure you have npm installed.
npm install bower polymer-cli -gto install tools needed to run the project.
When in the
npm installand then
bower installto install dependencies.
polymer serveto start the development server.
Go to http://127.0.0.1:8081
Run all lint tasks in parallel
npm run lint
Run ESLint for JS
Run Stylelint for CSS
npm run lint:css
npm run lint:polymer
Docker container for production
You can use the included
Dockerfile to deploy the built app using prpl-server.
Build project locally
polymer.json contains the
"autoBasePath": true setting to support differential serving with the prpl-server.
This option makes the build incompatible with static file servers, though. So, in order to serve bundled app locally using
polymer-cli, do the following steps:
"autoBasePath": truesetting from the
polymer serve build/es6-bundled(you can choose
Read more about the build options in the Polymer: Build for production documentation.