feat: implement PWA support with manifest and icons and add mobile-optimized bottom navigation
This commit is contained in:
@@ -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);
|
||||
Reference in New Issue
Block a user