Skip to content

Commit

Permalink
Merge pull request #55 from maheshj01/pwa
Browse files Browse the repository at this point in the history
add pwa support
  • Loading branch information
maheshj01 authored Oct 7, 2024
2 parents 9817d03 + 0db1783 commit 87b450e
Show file tree
Hide file tree
Showing 17 changed files with 6,084 additions and 263 deletions.
23 changes: 18 additions & 5 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,23 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
// output: 'export',
import withPWAInit from "@ducanh2912/next-pwa";

const withPWA = withPWAInit({
dest: "public",
});

export default withPWA({
trailingSlash: true,
images: {
unoptimized: true
}
};
},
reactStrictMode: true,
});
// const nextConfig = {
// // output: 'export',
// trailingSlash: true,
// images: {
// unoptimized: true
// }
// };

export default nextConfig;
// export default nextConfig;
Loading

0 comments on commit 87b450e

Please sign in to comment.