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

how to replace index.md with index.jsx #349

Closed
Maxhodges opened this issue Jul 6, 2016 · 2 comments
Closed

how to replace index.md with index.jsx #349

Maxhodges opened this issue Jul 6, 2016 · 2 comments

Comments

@Maxhodges
Copy link

I pulled the starter documentation demo, and added Semantic-UI to the project. How can I replace the default index.md file with a react component instead? I'm not sure why it's expecting index.md. I removed it.

.*$:33 Uncaught Error: Cannot find module './index.md'.
client.js:58 [HMR] connected
@Maxhodges
Copy link
Author

ah nevermind! It seems after deleting files I need to stop the server and run gatsby develop again then refresh the browser!

@KyleAMathews
Copy link
Contributor

Yeah... :-( not obvious at all unfortunately. I think this can be eliminated in the future but need to do some experimenting...

ChristopherBiscardi pushed a commit to ChristopherBiscardi/gatsby that referenced this issue Jun 9, 2019
ChristopherBiscardi pushed a commit to ChristopherBiscardi/gatsby that referenced this issue Jun 27, 2019
johno pushed a commit to johno/gatsby that referenced this issue Jul 17, 2019
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