feat: 添加PWA支持,支持离线访问和添加到主屏幕

This commit is contained in:
System Administrator
2026-03-28 00:47:13 +07:00
parent d437580500
commit 8ffadc8604
5 changed files with 172 additions and 2 deletions
@@ -0,0 +1,19 @@
{
"name": "轻远电力老挝ERP",
"short_name": "轻远ERP",
"description": "轻远电力老挝分公司财务管理系统",
"start_url": "/",
"display": "standalone",
"background_color": "#ffffff",
"theme_color": "#1890ff",
"orientation": "portrait",
"scope": "/",
"icons": [
{
"src": "/logo.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "any maskable"
}
]
}