Skip to content

Commit

Permalink
Add PWA next plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
luandro committed Apr 15, 2024
1 parent 4f337c7 commit b9e6037
Show file tree
Hide file tree
Showing 3 changed files with 2,586 additions and 2,364 deletions.
10 changes: 9 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
buildModules: [
'@nuxtjs/pwa',
],
pwa: {
icon: {
source: 'public/mapeo.png',
}
},
reactStrictMode: true,
output: 'standalone',
images: {
remotePatterns: [
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"react-dropzone": "^14.2.3"
},
"devDependencies": {
"@nuxtjs/pwa": "^3.3.5",
"@types/formidable": "2.x",
"@types/mime": "^3.0.1",
"@types/node": "20.5.7",
Expand Down
Loading

0 comments on commit b9e6037

Please sign in to comment.