ãã¡ãã³ã³ã£ã¦
å®åç¯å²åºãã¦é¢åã§ãããã
ãã¯ãå½ããåã§ããããã¼ã£ã¨åã¯favicon.ico
ãæºåããã ãã§ããã£ãã®ããã¹ããã®ããã¼ã ç»é¢ã«è¿½å ãã«å¯¾å¿ã¨ããWinã®ããã³çããã«å¯¾å¿ã¨ãããããã¨ããªãããªããªããã¨ãå¤ãã§ãã
ãªã®ã§å¤§ããç»åãæºåããã ãã§ãµã¯ãã¨ãã«ãããã¤ã¹å¯¾å¿ãã¦ãããReal Favicon Generatorã使ã£ã¦çæã»è¨å®ãã¾ããã
æåãã¦ããããµã¤ãã«æ²¿ã£ã¦è¨è¿°ãã¦ã¢ããã é 調ã«ãã¨ã¯éã³ãããããããã¨ã¬ãã¥ã¼ãçµãã£ã¦ã¹ãã¼ã¸ã³ã°ç°å¢ã«åæ ããã便å©ãã¼ã«ãä½ã£ã¦ãã ãã£ãæ¹ã«ä¸ç¤¼ãã¦ã¿ã¹ã¯å®äºã å ¨ç¶é¢åãããªããæ¬å½ã«å©ããã¾ãã
ä¸ã¤ç®ã«ããã£ããã¨
æ¬çªç°å¢ã«åæ ãããã®ã§ãµã¨è¦ãã¨ã³ã³ã½ã¼ã«ã¨ã©ã¼ãåºã¦ã¾ããããã¡ãã³ã³ã§â¦ããã£ï¼ãï¼ãªãã§ï¼
ã³ã³ã½ã¼ã«ã¨ã©ã¼ã®åå ã¯site.webmanifest
ã§ããã
ä¸è¨ãã¼ã«ã§çæããæã«åºåããããã¡ã¤ã«ã®ä¸ã¤ã§ãChromeã ã¨ã¨ã©ã¼ãåºã¾ãã
ã¦ã§ãã¢ããªãããã§ã¹ãã¯ãã¦ã§ãã¢ããªã±ã¼ã·ã§ã³ã«ã¤ãã¦ãã¦ã§ãã¢ããªããã¦ã³ãã¼ãããããã¦ã¼ã¶ã¼ã«ãã¤ãã£ãã¢ããªã¨åãããã«è¦ããï¼ä¾ãã°ã端æ«ã®ãã¼ã ç»é¢ã«ã¤ã³ã¹ãã¼ã«ãããã¦ã¼ã¶ã¼ã«ç´ æ©ãã¢ã¯ã»ã¹ã¨è±ããªæä½æ§ãæä¾ãããªã©ã®ï¼ããã«å¿ è¦ãªã®æ å ±ã JSON ããã¹ããã¡ã¤ã«ã§æä¾ãã¾ãã PWA ã®ãããã§ã¹ãã«ã¯ããã®ååãä½è ãã¢ã¤ã³ã³ããã¼ã¸ã§ã³ã説æãããã³ (ä»ã®ãã®ã®ä¸ã§ç¹ã«) å¿ è¦ãªãã¹ã¦ã®ãªã½ã¼ã¹ã®ãªã¹ããå«ã¾ãã¦ãã¾ãã
https://developer.mozilla.org/ja/docs/Web/Manifest
解æ¶ããã«ã¯site.webmanifest
ããªãã¼ã ããã¨ããã¾ããã®ã§ããã®éãã«ãªãã¼ã ãã¾ããã
ããã¯site.webmanifestã®ä»£ããã«manifest.jsonã¨ãã¦ãOKã¿ãããªã®ã§ããªãã¼ã ãã¦ããã¾ãã
https://zenn.dev/toshihide2000/articles/a41031f1003cf2
æ ã¦ã¦ä¿®æ£ãã¦ããã¼ã«ã«ã§ç¢ºèªãç¡äºè§£æ¶ããã¦ãã®ã§ããããã¨ã¬ãã¥ã¼ãã¦ããã£ã¦ã¹ãã¼ã¸ã³ã°ç°å¢ã«åæ ã
äºã¤ç®ã«ããã£ããã¨
ããããã¨æã£ãã®ãæã®éãã¾ããã¦ãã³ã³ã½ã¼ã«ã¨ã©ã¼ããã¡ãããã¡ãã³ã³ã§â¦ããããããããã
ä»åº¦ã¯CROS
ã§æããã¾ãããåå ã¯å
ã»ã©ãªãã¼ã ãããã¡ã¤ã«ãèªã¿è¾¼ãã§ããAndroidç¨ã®link
ã¿ã°ã§ããã
è³æ ¼æ å ±ãå¿ è¦ã¨ãããããã§ã¹ããèªã¿åãã¨ãã¯ãåããªãªã¸ã³ããã®ãã¡ã¤ã«èªã¿åãã§ãã£ã¦ã use-credentials ã®å¤ã使ç¨ããå¿ è¦ãããã¾ãã
<link rel="manifest" href="/manifest.json" crossorigin="use-credentials">
ãã¼ã«ã«ã§ã¯ç¢ºèªã§ããªãã®ã§â¦ã¯è¨ã訳ã§ãããã¯ãã確èªä¸è¶³ã§ãã
çµå±ãã¥ã¼ãã³ã¨ã©ã¼
ä¸ã¤ç®ãäºã¤ç®ãçµå±ã¯å®è£ è ã§ããç§ã®ç¢ºèªæ¼ããåå ã§ããã
ãµã¼ãã¼ã«ä¸ãã£ãæç¹ã§ç¢ºèªãã¦ããã°ç¡é§ã«ãã°ãçºçããããã¨ããªãã£ãã®ã«ãããã¦ãã¤ãªã¨ãããã¨ããªãã£ãã®ã«ã
ä¸è¨ã¸ã§ãã¬ã¼ã¿ã¼ã使ã£ã¦ãã¡ãã³ã³ãçæã»è¨å®ãããæ¹ã¯ããã²ãã®2ã¤ã確èªãã¦å®è£ ããããã¨ããå§ããã¾ãã