Browse Source

Update vite.config.ts

lex 1 năm trước cách đây
mục cha
commit
d6879e8a62
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      vite.config.ts

+ 2 - 2
vite.config.ts

@@ -67,8 +67,8 @@ export default defineConfig(() => {
         registerType: 'autoUpdate',
         includeAssets: ['./logo.png'],
         workbox: {
-          skipWaiting: true
-          // clientsClaim: true
+          skipWaiting: true,
+          clientsClaim: true
           // runtimeCaching: [
           //   {
           //     urlPattern: /(.*?)\.(js|css|ts|tsx|html)/, // js /css /ts静态资源缓存