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

Cannot show component for a page. #55

Open
yamano-h opened this issue Feb 12, 2020 · 1 comment
Open

Cannot show component for a page. #55

yamano-h opened this issue Feb 12, 2020 · 1 comment

Comments

@yamano-h
Copy link

yamano-h commented Feb 12, 2020

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?

@cmacmillan
Copy link
Contributor

#79 should fix this

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