feat: 添加环境变量支持与PWA功能增强

* 更新 `.gitignore` 文件以包含环境变量文件 `.env` 和相关配置。
* 在 `env.d.ts` 中定义环境变量类型,支持 API 配置、功能开关和主题设置。
* 更新 `index.html`,添加 PWA 相关的 manifest 和 meta 标签,提升应用的安装体验。
* 引入 `lazysizes` 和 `quicklink` 以优化图片加载和链接预加载,提升性能。
* 更新多个组件以使用新的 UI 状态管理,确保一致性和可读性。
* 删除不再使用的 Font Awesome 图标,替换为 lucide-vue-next 图标,提升视觉一致性。
* 更新 `README.md`,添加环境变量配置说明和项目文档链接。
This commit is contained in:
AdingApkgg
2025-11-27 18:21:09 +08:00
parent 16e7dacd97
commit 052f9c5ed9
35 changed files with 2946 additions and 99 deletions

View File

@@ -27,11 +27,12 @@
},
"dependencies": {
"@fancyapps/ui": "^6.1.5",
"@fortawesome/fontawesome-free": "^7.1.0",
"artalk": "^2.9.1",
"lazysizes": "^5.3.2",
"lucide-vue-next": "^0.555.0",
"pace-js": "^1.2.4",
"pinia": "^3.0.4",
"quicklink": "^3.0.1",
"vue": "^3.5.24"
}
}