Skip to content

Commit

Permalink
feat: 支持 PWA
Browse files Browse the repository at this point in the history
  • Loading branch information
imsyy committed Aug 9, 2023
1 parent ef64a2c commit 659848b
Show file tree
Hide file tree
Showing 11 changed files with 1,850 additions and 85 deletions.
2 changes: 2 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
<link rel="shortcut icon" type="image/svg+xml" href="favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>IMSYY 站点监测</title>
<meta name="keywords" content="站点监测,监测,监控" />
<meta name="description" content="一个简约的站点监测" />
<link rel="stylesheet" href="https://s1.hdslb.com/bfs/static/jinkela/long/font/regular.css" />
</head>

Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "site-status",
"alia": "SiteStatus",
"private": true,
"version": "1.1.2",
"version": "1.1.3",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down Expand Up @@ -35,6 +35,8 @@
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.1",
"terser": "^5.19.1",
"vite": "^4.4.0"
"vite": "^4.4.0",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-pwa": "^0.16.4"
}
}
Loading

0 comments on commit 659848b

Please sign in to comment.