feat: implement PWA support with manifest and icons and add mobile-optimized bottom navigation

This commit is contained in:
sazzadulalambd
2026-05-06 16:38:57 +06:00
parent 849c6e56ba
commit 502e576fc1
10 changed files with 3408 additions and 190 deletions

View File

@@ -1,4 +1,12 @@
import type { NextConfig } from "next";
import withPWAInit from "@ducanh2912/next-pwa";
const withPWA = withPWAInit({
dest: "public",
disable: false, // Explicitly enabling PWA even in development mode per user request
register: true,
skipWaiting: true,
});
const nextConfig: NextConfig = {
images: {
@@ -12,4 +20,4 @@ const nextConfig: NextConfig = {
},
};
export default nextConfig;
export default withPWA(nextConfig);