add next-pwa to turn website into pwa
parent
a944e8cb80
commit
098ee2d8ba
@ -1,4 +1,10 @@
|
|||||||
|
import createPWA from "next-pwa";
|
||||||
|
|
||||||
|
const withPWA = createPWA({
|
||||||
|
dest: "public"
|
||||||
|
});
|
||||||
|
|
||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
const nextConfig = {};
|
const nextConfig = {};
|
||||||
|
|
||||||
export default nextConfig;
|
export default withPWA(nextConfig);
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
/**.js
|
Loading…
Reference in new issue