Skip to content

Docs - Add how to remove Service Worker steps #152

@theangchen

Description

@theangchen

This was a question asked by Steve. Tony provided steps, please add this to documentation (needs new page under Building Your Application at the very bottom):

*add disclaimer that it's not meant to be removed however it's possible and this is how:
To remove the service worker that comes preconfigured with the template application you'll need to:

  1. Run npm uninstall vite-plugin-pwa
  2. Remove vite-plugin-pwa from the vite.config.js
  3. Remove the service worker configurations from src/index.js

NICE TO HAVE:

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions