gatsby-gitbook-starter
gatsby-gitbook-starter copied to clipboard
Cannot show component for a page.
Hi,
I am trying to add a component for a page.
How do I display the components of a page under src / pages using the following repository? I can create new pages by adding components under the src/pages. But the pages show just blank pages. I don't know why...
I added a test.js (new simple component) under the src/pages
import React from "react"
export default () => (
<div>Hello world!</div>
)
But the page for http://localhost:8000/test shows a just blank page.
Could you help me?
https://github.com/hasura/gatsby-gitbook-starter/pull/79 should fix this