some fixes
This commit is contained in:
613
client/package-lock.json
generated
613
client/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -52,9 +52,9 @@
|
||||
"eslint-plugin-react-hooks": "^5.2.0",
|
||||
"eslint-plugin-react-refresh": "^0.4.20",
|
||||
"typescript": "^5.8.3",
|
||||
"vite": "^6.3.5",
|
||||
"vite": "^6.4.1",
|
||||
"vite-plugin-mkcert": "^1.17.8",
|
||||
"vite-plugin-pwa": "^1.0.3"
|
||||
"vite-plugin-pwa": "^1.2.0"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "refine dev",
|
||||
|
||||
BIN
client/public/icon192_rounded.png
Normal file
BIN
client/public/icon192_rounded.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.5 KiB |
@@ -1,22 +0,0 @@
|
||||
{
|
||||
"name": "Spoolman",
|
||||
"short_name": "Spoolman",
|
||||
"description": "Keep track of your inventory of 3D-printer filament spools.",
|
||||
"icons": [
|
||||
{
|
||||
"purpose": "maskable",
|
||||
"sizes": "512x512",
|
||||
"src": "icon512_maskable.png",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"purpose": "any",
|
||||
"sizes": "512x512",
|
||||
"src": "icon512_rounded.png",
|
||||
"type": "image/png"
|
||||
}
|
||||
],
|
||||
"background_color": "#1F1F1F",
|
||||
"theme_color": "#DC7734",
|
||||
"display": "standalone"
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
import react from "@vitejs/plugin-react";
|
||||
import { defineConfig } from "vite";
|
||||
import { VitePWA } from 'vite-plugin-pwa'
|
||||
import { VitePWA } from 'vite-plugin-pwa';
|
||||
import svgr from "vite-plugin-svgr";
|
||||
|
||||
export default defineConfig({
|
||||
@@ -11,7 +11,7 @@ export default defineConfig({
|
||||
devOptions: {
|
||||
enabled: true,
|
||||
},
|
||||
includeAssets: ['favicon.ico', 'robots.txt'],
|
||||
includeAssets: ['favicon.ico', 'favicon.svg', 'apple-touch-icon.png'],
|
||||
manifest: {
|
||||
name: "Spoolman",
|
||||
short_name: "Spoolman",
|
||||
@@ -28,6 +28,12 @@ export default defineConfig({
|
||||
"sizes": "512x512",
|
||||
"src": "icon512_rounded.png",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"purpose": "any",
|
||||
"sizes": "192x192",
|
||||
"src": "icon192_rounded.png",
|
||||
"type": "image/png"
|
||||
}
|
||||
],
|
||||
background_color: "#1F1F1F",
|
||||
|
||||
Reference in New Issue
Block a user