PMU_2024/web/icons
2024-10-15 16:57:07 +04:00
..
apple-touch-icon.png lab7 just try 2024-10-15 16:57:07 +04:00
favicon.ico lab7 just try 2024-10-15 16:57:07 +04:00
icon-192-maskable.png lab7 just try 2024-10-15 16:57:07 +04:00
icon-512-maskable.png lab7 just try 2024-10-15 16:57:07 +04:00
Icon-maskable-192.png initial commit lab1 2024-09-10 19:00:47 +04:00
Icon-maskable-512.png initial commit lab1 2024-09-10 19:00:47 +04:00
README.txt lab7 just try 2024-10-15 16:57:07 +04:00

Add this to your HTML <head>:

    <link rel="icon" href="/favicon.ico" sizes="any">
    <link rel="apple-touch-icon" href="/apple-touch-icon.png">

Add this to your app's manifest.json:

    ...
    {
      "icons": [
        { "src": "/favicon.ico", "type": "image/x-icon", "sizes": "16x16 32x32" },
        { "src": "/icon-192.png", "type": "image/png", "sizes": "192x192" },
        { "src": "/icon-512.png", "type": "image/png", "sizes": "512x512" },
        { "src": "/icon-192-maskable.png", "type": "image/png", "sizes": "192x192", "purpose": "maskable" },
        { "src": "/icon-512-maskable.png", "type": "image/png", "sizes": "512x512", "purpose": "maskable" }
      ]
    }
    ...