feat: 添加manifest.json

This commit is contained in:
alger
2024-05-22 15:38:43 +08:00
parent 449a6fd335
commit 73982f0e84
2 changed files with 30 additions and 20 deletions
+20 -20
View File
@@ -1,25 +1,25 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head>
<meta charset="UTF-8" /> <head>
<link rel="icon" href="/favicon.ico" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="icon" href="/favicon.ico" />
<title>网抑云 | algerkong</title> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link <title>网抑云 | algerkong</title>
rel="stylesheet" <link rel="manifest" href="./public/manifest.json" />
href="./public/icon/iconfont.css" <link rel="stylesheet" href="./public/icon/iconfont.css" />
/> <link rel="stylesheet" href="./public/css/animate.css" />
<link rel="stylesheet" href="./public/css/animate.css" /> <link rel="stylesheet" href="./public/css/base.css" />
<link rel="stylesheet" href="./public/css/base.css" /> <style>
<style> :root {
:root { --animate-delay: 0.5s;
--animate-delay: 0.5s; }
} </style>
</style>
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>
<script type="module" src="/src/main.ts"></script> <script type="module" src="/src/main.ts"></script>
</body> </body>
</html> </html>
+10
View File
@@ -0,0 +1,10 @@
{
"name": "Alger Music PWA",
"icons": [
{
"src": "./icon.png",
"type": "image/png",
"sizes": "256x256"
}
]
}