Skip to content

Commit

Permalink
Add PWA module
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjacob committed May 22, 2024
1 parent fff34be commit 6866244
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ logs
.env
.env.*
!.env.example
sw.*
Binary file modified bun.lockb
Binary file not shown.
3 changes: 3 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
buildModules: [
'@nuxtjs/pwa'
],
css: [
'~/assets/css/theme.css'
],
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@
"nuxt": "^3.11.2",
"vue": "^3.4.27",
"vue-router": "^4.3.2"
},
"devDependencies": {
"@nuxtjs/pwa": "^3.3.5"
}
}
Binary file added static/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6866244

Please sign in to comment.