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

help nedded Guide: How to create new route/page #522

Closed
Arkango opened this issue Jan 19, 2019 · 4 comments
Closed

help nedded Guide: How to create new route/page #522

Arkango opened this issue Jan 19, 2019 · 4 comments

Comments

@Arkango
Copy link

Arkango commented Jan 19, 2019

Hi, I added a route correctly called, the files of that added in root.js of client/src.
There is a list of route enabled ? How i can add them to show the content.
React is undebuggable. Now i can see only a page with toolbar. Someone can help me?.
screenshot_2019-01-19_20-24-23

@Arkango Arkango changed the title Guide: How to create new route/page help nedded Guide: How to create new route/page Jan 19, 2019
@bures
Copy link
Member

bures commented Feb 17, 2019

Is this still a problem or can I close the issue? I'm afraid, I don't have the capacity to help with general React issues. If there is a problem with Mailtrain v2, I'll be happy to help.

@Arkango
Copy link
Author

Arkango commented Feb 17, 2019 via email

@bures
Copy link
Member

bures commented Feb 17, 2019

Just follow the example of client/src/Home.js. The page has to be registered in client/src/root.js. And then don't forget to recompile the client (best done with npm run watch in client directory).

@Arkango
Copy link
Author

Arkango commented Feb 17, 2019 via email

@bures bures closed this as completed Feb 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