Skip to content

Commit 3e4f3ba

Browse files
document serviceWorker register option (#3395)
* document serviceWorker register option * Update documentation/docs/14-configuration.md Co-authored-by: Rich Harris <[email protected]>
1 parent 54d302d commit 3e4f3ba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

documentation/docs/14-configuration.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ Enables or disables the client-side [router](#page-options-router) app-wide.
232232

233233
An object containing zero or more of the following values:
234234

235+
- `register` - if set to `false`, will disable automatic service worker registration
235236
- `files` - a function with the type of `(filepath: string) => boolean`. When `true`, the given file will be available in `$service-worker.files`, otherwise it will be excluded.
236237
237238
### target

0 commit comments

Comments
 (0)