Not seeing all source code in Src folder such as Components, Elements, Styles (New to Gatsby themes) #972
-
Hi there, I noticed when I installed the theme, that none of the src folder was populated with the exception of the sections folder and the MDX files within it. Wondering if I'm going about it wrong as I see in the theme folder on the repo there is a few other folders that I cannot access (components, elements, hooks, etc) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi! If they don't exist, create the files yourself. The files you see exist as an example to show how things are done. If you want to change other files, create files to override things. That's the purpose of a theme, that unless you want to change something you just consume it. |
Beta Was this translation helpful? Give feedback.
-
Hi, how did you solve it? |
Beta Was this translation helpful? Give feedback.
Hi!
If they don't exist, create the files yourself. The files you see exist as an example to show how things are done. If you want to change other files, create files to override things. That's the purpose of a theme, that unless you want to change something you just consume it.