question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[LekoArts/gatsby-starter-minimal-blog] - Cannot locate the `src` folder

See original GitHub issue

Hey, there! Let me start by saying that I absolutely love the themes you created and I’m looking forward to using it in my personal blog.

What I’m trying to do is to change the contents in the hero section as well as the logo and footer. My problem is I cannot locate the src folder in the gatsby-starter-minimal-blog. I did read the documentation and I’m not sure how I can implement the changing the hero text part as I’m still relatively new to Gatsby and React in general.

Seeing two other issues like this one and that one suggests that there could be some way of accessing src files. The only clue I get so far is I have to do some “Shadowing” even though I’m not exactly sure what does this term mean.

Is there a way I can find the src folder so that I can change the things I want?

Thank you!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
thehapaxcommented, Aug 1, 2020

you can just add the src folder in the top level directory when you clone the gatsby-starter-minimal-blog

in the gatsby documentation - the file structure goes like this:

src/ src/components src/templates src/pages

in the pages directory you can create .js pages

I’d recommend taking a look at the docs here: https://www.gatsbyjs.org/docs/themes/building-themes/#gatsby-theme-minimal

Although, it might be useful to have either 1) a note in the readme in the @LekoArts theme, or 2) mirror the directory structure of gatsby-default-starter or gatsby-theme-minimal so that it will be less confusing for new gatsby users.

I agree, if you are new to react/gatsby and unaware of how the directory structures work, it must have taken me several hours to figure out what was missing in the @LekoArts/gatsby-starter-minimal-blog theme.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why does this Gatsby starter not have a /src folder?
I understood that all Gatsby sites have a /src directory, or is this not the case? And where is the code for this...
Read more >
Structuring your project folder - AWS Elastic Beanstalk
Inside the WAR file, you find the same structure that exists in the src directory in the preceding example, excluding the src/com folder....
Read more >
Additional Source Directories in Maven - Baeldung
In this tutorial, we'll explain how we can add multiple source directories in the Maven-based Java project. 2. Extra Source Directory.
Read more >
Operation to change a personal folder location fails in Windows
If the personal folder was mapped to a personal folder in the OneDrive folder on the computer, the following error message is received:...
Read more >
Advanced Features: `src` Directory - Next.js
Save pages under the `src` directory as an alternative to the root `pages` directory.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found