@wyze/gatsby-plugin-favicon

3.0.2 • Public • Published

gatsby-plugin-favicon

Generates all favicons for Web, Android, iOS, ...

Install

yarn add gatsby-plugin-favicon

How to use

  1. Include the plugin in your gatsby-config.js file.
  2. Add a favicon.png file in your src folder. The recommended size for the file is: 1500x1500px.
// in gatsby-config.js
plugins: [
  {
    resolve: `gatsby-plugin-favicon`,
    options: {
      logo: "./src/favicon.png",
      injectHTML: true,
      icons: {
        android: true,
        appleIcon: true,
        appleStartup: true,
        coast: false,
        favicons: true,
        firefox: true,
        twitter: false,
        yandex: false,
        windows: false
      }
    }
  }
];

Package Sidebar

Install

npm i @wyze/gatsby-plugin-favicon

Weekly Downloads

4

Version

3.0.2

License

MIT

Unpacked Size

13.3 kB

Total Files

6

Last publish

Collaborators

  • wyze