Slide 11
Slide 11 text
/* ---------- PWA ---------- */
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Mogami#Log`,
short_name: `Mogami#Log`,
start_url: `/`,
background_color: `#f7f0eb`,
theme_color: `#00D1B2`,
display: `minimal-ui`,
icon: `src/images/icon.png`,
}
},
`gatsby-plugin-offline`,
manifestの内容を定義
iconは解像度の大きいものを
作成することで最適な解像度の
画像をビルドプロセスで
用意してくれる
上記はgatsby-config.jsの一部抜粋です。
詳しくは先ほどのリポジトリをご覧ください…!