add pwa in nextjs

This commit is contained in:
Aman Varshney
2025-05-21 13:02:58 +05:30
parent cd8b5a9db4
commit 01d745a3e5
15 changed files with 83 additions and 11 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

@@ -0,0 +1,12 @@
import {
defineConfig,
minimal2023Preset as preset,
} from "@vite-pwa/assets-generator/config";
export default defineConfig({
headLinkOptions: {
preset: "2023",
},
preset,
images: ["public/logo.png"],
});