feat: 添加 PWA 支持,可添加到手机主屏幕作为独立应用使用

This commit is contained in:
2026-03-02 07:04:08 +08:00
parent ab60db0dc5
commit 0cb6dd418f
8 changed files with 649 additions and 2 deletions

View File

@@ -17,7 +17,8 @@
"@vitejs/plugin-react": "^5.1.4",
"tailwindcss": "^4.2.1",
"typescript": "^5.9.3",
"vite": "^7.3.1"
"vite": "^7.3.1",
"vite-plugin-pwa": "^1.2.0"
},
"dependencies": {
"partysocket": "^1.1.16",