If you don't change those, you get errors because there's no Social component file in your site's dir. So make sure you change the import paths. You can see the example of Applying new props in gatsbyjs.org/docs/themes/shadowing... to figure out the theme import path.
Try removing the theme and including the filename like in the theme.
// in the themeimportuseSiteMetadatafrom"../use-site-metadata"importSocialfrom"./social"// in your siteimportuseSiteMetadatafrom"gatsby-theme-musician/src/use-site-metadata";import{Social}from"gatsby-theme-musician/src/components/social";
The footer component has relative imports, ie. it imports these other components from the theme.
If you don't change those, you get errors because there's no
Social
component file in your site's dir. So make sure you change the import paths. You can see the example of Applying new props in gatsbyjs.org/docs/themes/shadowing... to figure out the theme import path.Thanks, but I have no idea how to solve the problem. What is the path to add?
I try to add but not working
import useSiteMetadata from "gatsby-theme-musician/theme/src/"
import { Social } from "gatsby-theme-musician/theme/src/components/"
export default props =>
export default props =>
Try removing the
theme
and including the filename like in the theme.Its not working, but its ok thanks
Do you know, how to change or add a favicon ?