add vitejsPWA
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { defineConfig } from 'vite';
|
||||
import laravel from 'laravel-vite-plugin';
|
||||
import react from '@vitejs/plugin-react';
|
||||
import { VitePWA } from 'vite-plugin-pwa'
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
@@ -9,5 +10,6 @@ export default defineConfig({
|
||||
refresh: true,
|
||||
}),
|
||||
react(),
|
||||
VitePWA({ registerType: 'autoUpdate' })
|
||||
],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user