feat: 添加 PWA 支持

This commit is contained in:
2026-04-26 22:30:08 +08:00
parent 1e3e04f7d8
commit 89fa3740f9
9 changed files with 143 additions and 4 deletions
+19 -3
View File
@@ -1,10 +1,26 @@
<!doctype html>
<html lang="en">
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>vite-app</title>
<meta
name="description"
content="一个本地优先的 OpenAI-compatible LLM 聊天面板。"
/>
<meta name="theme-color" content="#111111" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-title" content="LLM Chat" />
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
<link rel="manifest" href="/manifest.webmanifest" />
<link
rel="icon"
type="image/png"
sizes="192x192"
href="/icons/icon-192.png"
/>
<link rel="apple-touch-icon" href="/icons/apple-touch-icon.png" />
<title>Simple LLM Chat UI</title>
</head>
<body>
<div id="root"></div>