Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Commit

Permalink
Service worker README update (#460)
Browse files Browse the repository at this point in the history
* Service worker README update

* Added updated feedback
  • Loading branch information
Tansito authored Jun 17, 2021
1 parent 5c7adfa commit 737cd4f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# pwa-lit-template

> [Getting started](#getting-started) | [Build for production](#build-for-production) | [Create a new page](#create-a-new-page) | [Environment configuration](#environment-configuration) | [Browser support](#browser-support)
> [Getting started](#getting-started) | [Build for production](#build-for-production) | [Create a new page](#create-a-new-page) | [Environment configuration](#environment-configuration) | [Service worker](#service-worker) | [Browser support](#browser-support)
This project helps you to build Progressive Web Applications following the modern web standards, best practices and providing you with tools for that purpose. Out of the box, provides you with the following features:

Expand Down Expand Up @@ -166,6 +166,12 @@ render() {
}
```

### Service worker

This project has configured the generation and injection of a service worker in the build process. But it is disabled by default. To enable it you just need to change the variable `GENERATE_SERVICE_WORKER` in the `rollup.config.js` to `true`.

Also you can change the Workbox configuration too modifying the variable `workboxConfig` in that same file.

## Browser support

- Chrome
Expand Down

0 comments on commit 737cd4f

Please sign in to comment.