Shadowing problem
hnsmchl opened this issue · comments
Hello there, first of all thank you for the cool theme. I think it's perfect for me, however I'm struggling with shadowing the files.
I can shadow the simple stuffs such as CSS files, the settings, and the contents. But when I attempted more complex actions, such as adding a button and new animations, the changes were not applied to the development.
What I've done:
- Repeatedly use Gatsby Clean before Gatsby Develop
- Sometimes even deleting node_modules
- Tried both
hans-pasaribu\src\gatsby-theme-portfolio-minimal\sections\Hero
and
hans-pasaribu\src\sections\Hero
still doesn't work - Altough
hans-pasaribu\src\gatsby-theme-portfolio-minimal\sections\Hero
is more of a 404 error like this:
There's not a page or function yet at /
Preview custom 404 page
Create a page at this url
Create a React.js component like the following in your site directory at "src/pages/index.js" and then refresh to show the new page component you created.
import * as React from "react"
export default function Component () {
return "Hello world"
}
I think the only page that isn't detectable is the homepage because /blog/
works fine. Do you know how to solve it? I put everything in src\gatsby-theme-portfolio-minimal\
so src
only contains that single folder. Thanks once again.
managed to fix it. Pages is on src and not part of the theme