Skip to content

Instantly share code, notes, and snippets.

@konstantinmuenster
Last active June 6, 2020 06:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save konstantinmuenster/a40013633a19fb4286bd08b20f5c03f5 to your computer and use it in GitHub Desktop.
Save konstantinmuenster/a40013633a19fb4286bd08b20f5c03f5 to your computer and use it in GitHub Desktop.
gatsby-config.js (1) - How To Gatsby Portfolio
module.exports = {
...
},
plugins: [
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `gatsby-starter-default`,
short_name: `starter`,
start_url: `/`,
background_color: `#663399`,
theme_color: `#663399`,
display: `minimal-ui`,
icon: `src/images/gatsby-icon.png`, // This path is relative to the root of the site.
},
},
`gatsby-plugin-styled-components`, // I AM NEW
],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment