chore: bump to eslint-config v2.8.0
(#2651)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
This commit is contained in:
parent
62f70250d5
commit
9da77637b2
48 changed files with 896 additions and 511 deletions
|
@ -10,8 +10,8 @@ export function configurePWAOptions(options: Partial<VitePWAOptions>, nuxt: Nuxt
|
|||
|
||||
let config: Partial<
|
||||
import('workbox-build').BasePartial
|
||||
& import('workbox-build').GlobPartial
|
||||
& import('workbox-build').RequiredGlobDirectoryPartial
|
||||
& import('workbox-build').GlobPartial
|
||||
& import('workbox-build').RequiredGlobDirectoryPartial
|
||||
>
|
||||
|
||||
if (options.strategies === 'injectManifest') {
|
||||
|
|
|
@ -36,7 +36,8 @@ export default defineNuxtPlugin(() => {
|
|||
}
|
||||
|
||||
const {
|
||||
needRefresh, updateServiceWorker,
|
||||
needRefresh,
|
||||
updateServiceWorker,
|
||||
} = useRegisterSW({
|
||||
immediate: true,
|
||||
onRegisterError() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue