091eead5bb
index.html référençait /manifest.json (inexistant) → nginx renvoyait index.html en fallback SPA → "Manifest: Line 1, column 1, Syntax error" dans Chromium, et la PWA n'avait aucune icône valide (d'où les favicons icon-192/512 non utilisées pour le raccourci). - Retire le <link rel="manifest" href="/manifest.json"> codé en dur : VitePWA injecte déjà /manifest.webmanifest au build - Ajoute <link rel="apple-touch-icon" href="/icons/icon-192.png"> pour le raccourci écran d'accueil iOS (qui n'utilise pas le manifest pour l'icône) v0.5.17 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
28 lines
617 B
JSON
28 lines
617 B
JSON
{
|
|
"name": "homehub-frontend",
|
|
"private": true,
|
|
"version": "0.5.17",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-router-dom": "^6.28.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^18.3.12",
|
|
"@types/react-dom": "^18.3.1",
|
|
"@vitejs/plugin-react": "^4.3.3",
|
|
"autoprefixer": "^10.4.20",
|
|
"postcss": "^8.4.49",
|
|
"tailwindcss": "^3.4.15",
|
|
"typescript": "^5.6.3",
|
|
"vite": "^5.4.10",
|
|
"vite-plugin-pwa": "^0.21.1"
|
|
}
|
|
}
|