Skip to content

Commit

Permalink
feat: support PWA (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamhunter2333 authored Mar 2, 2024
1 parent efa6a52 commit 09240c5
Show file tree
Hide file tree
Showing 11 changed files with 2,893 additions and 13 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ lerna-debug.log*
node_modules
.DS_Store
dist
*-dist
dist-ssr
coverage
*.local
Expand Down
1 change: 1 addition & 0 deletions frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<title>AI 占卜</title>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8486711392183862"
crossorigin="anonymous"></script>
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
</head>

<body>
Expand Down
3 changes: 2 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.0.0",
"vite": "^4.1.4"
"vite": "^4.1.4",
"vite-plugin-pwa": "^0.19.2"
}
}
Loading

0 comments on commit 09240c5

Please sign in to comment.