Skip to content

Commit 66aab3f

Browse files
committedMar 30, 2023
chore: manifest
1 parent a141cbe commit 66aab3f

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed
 

‎index.html

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
<meta charset="UTF-8" />
55
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<meta name="theme-color" content="#11111b" />
8+
<link rel="apple-touch-icon" href="/logo192.png" />
9+
<link rel="manifest" href="/manifest.json" />
710
<title>Weather</title>
811
</head>
912
<body>

‎package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
{
22
"name": "weather",
33
"private": true,
4-
"version": "0.2.1",
4+
"version": "0.2.4",
55
"homepage": "https://virkkunen.github.io/weather",
66
"license": "GPL-3.0-or-later",
77
"type": "module",
88
"scripts": {
99
"dev": "vite",
1010
"build": "tsc && vite build",
1111
"preview": "vite preview",
12-
"predeploy": "npm run build",
13-
"deploy": "gh-pages -d build"
12+
"deploy": "npm run build"
1413
},
1514
"dependencies": {
1615
"@headlessui/react": "^1.7.13",

‎public/manifest.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
"name": "Weather",
44
"icons": [
55
{
6-
"src": "favicon.ico",
6+
"src": "/favicon.ico",
77
"sizes": "64x64 32x32 24x24 16x16",
88
"type": "image/x-icon"
99
},
1010
{
11-
"src": "logo192.png",
11+
"src": "/logo192.png",
1212
"type": "image/png",
1313
"sizes": "192x192"
1414
},
1515
{
16-
"src": "logo512.png",
16+
"src": "/logo512.png",
1717
"type": "image/png",
1818
"sizes": "512x512"
1919
}

‎vite.config.ts

+4
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,8 @@ import { ghPages } from 'vite-plugin-gh-pages';
77
export default defineConfig({
88
plugins: [react(), ghPages()],
99
base: '/weather/',
10+
publicDir: 'public',
11+
build: {
12+
manifest: true,
13+
},
1014
})

0 commit comments

Comments
 (0)
Please sign in to comment.