Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect components source path #2

Closed
teddybradford opened this issue Oct 7, 2018 · 2 comments
Closed

Incorrect components source path #2

teddybradford opened this issue Oct 7, 2018 · 2 comments

Comments

@teddybradford
Copy link

When running the gatsby develop script on a fresh copy of this starter, the following error occurs:

The path passed to gatsby-source-filesystem does not exist on your file system:

../src/components/

Is the path supposed to be ./src/components/ (./ instead of ../)?

@whoisryosuke
Copy link
Owner

@teddybradford I designed this to work as a sub-repo inside of your project, such as a design system. Ideally, your project would be project_name > src > components and your docs would be project_name > docs.

You can see an example of this in my design system boilerplate, under the Gatsby docs branch..

If you'd like to change the source/component path, there's a section of the README that covers that 👍

@teddybradford
Copy link
Author

Ah, okay! I didn't realize the intent for this to be a sub-repo, so I wanted to make sure that wasn't a typo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants