Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/content/en/workbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ In `layouts/default.vue` (or wherever you want, maybe in a plugin):
const workbox = await window.$workbox;
if (workbox) {
workbox.addEventListener('installed', (event) => {
// If we don't do this we'll be displaying the notification after the initial installation, which isn't perferred.
// If we don't do this we'll be displaying the notification after the initial installation, which isn't preferred.
if (event.isUpdate) {
// whatever logic you want to use to notify the user that they need to refresh the page.
}
Expand Down