The next-pwa plugin's `manifest` option is silently ignored in @ducanh2912/next-pwa@10.2.9 — only the service worker is generated. The dashboard Web App Manifest now lives as a static file at public/manifest.json, sourced from the next.config.js block we just removed. This is the same shape the project shipped at HEAD~3, just with the new short_name and id field added by Task 4.
50 lines
1.2 KiB
JSON
50 lines
1.2 KiB
JSON
{
|
|
"name": "MEGA INFRASTRUCTURE",
|
|
"short_name": "MEGA OPS",
|
|
"description": "Construction site operations dashboard for fuel, orders, and workforce.",
|
|
"start_url": "/dashboard",
|
|
"scope": "/",
|
|
"display": "standalone",
|
|
"orientation": "portrait",
|
|
"background_color": "#e8ebed",
|
|
"theme_color": "#fdb13c",
|
|
"id": "/dashboard",
|
|
"categories": ["business", "productivity", "utilities"],
|
|
"icons": [
|
|
{
|
|
"src": "/icons/icon-192.png",
|
|
"sizes": "192x192",
|
|
"type": "image/png",
|
|
"purpose": "any"
|
|
},
|
|
{
|
|
"src": "/icons/icon-512.png",
|
|
"sizes": "512x512",
|
|
"type": "image/png",
|
|
"purpose": "any"
|
|
},
|
|
{
|
|
"src": "/icons/maskable-512.png",
|
|
"sizes": "512x512",
|
|
"type": "image/png",
|
|
"purpose": "maskable"
|
|
}
|
|
],
|
|
"shortcuts": [
|
|
{
|
|
"name": "Fuel",
|
|
"url": "/dashboard/fuel",
|
|
"icons": [{ "src": "/icons/icon-192.png", "sizes": "192x192" }]
|
|
},
|
|
{
|
|
"name": "Orders",
|
|
"url": "/dashboard/orders",
|
|
"icons": [{ "src": "/icons/icon-192.png", "sizes": "192x192" }]
|
|
},
|
|
{
|
|
"name": "Workforce",
|
|
"url": "/dashboard/employees",
|
|
"icons": [{ "src": "/icons/icon-192.png", "sizes": "192x192" }]
|
|
}
|
|
]
|
|
}
|