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

Routing works locally, but not on GitHub Pages #176

Closed
3 of 5 tasks
JoaoGuimaraes22 opened this issue Jan 26, 2024 · 2 comments
Closed
3 of 5 tasks

Routing works locally, but not on GitHub Pages #176

JoaoGuimaraes22 opened this issue Jan 26, 2024 · 2 comments
Labels
react-router App uses React Router

Comments

@JoaoGuimaraes22
Copy link

Category

Which of these applies to you? (Select all that apply)

  • I'm following the tutorial as-written from start to finish
  • I'm using a custom domain (note: not covered in tutorial)
  • I'm using React Router (note: not covered in tutorial)

Step

Which step of the tutorial do you want someone to help you with? (Select one)

  • Step number: (put the number here)
  • Something else

Links

Tell us where we can find your code and your GitHub Pages site:

Everything else

Blank Page. Works perfect locally. Using React Router. Tried using HashRouter, still blank. Open to anything.

...

@gitname
Copy link
Owner

gitname commented Apr 28, 2024

Hi @JoaoGuimaraes22, here are some options: #104 (comment)

@gitname gitname added the react-router App uses React Router label Apr 28, 2024
@gitname
Copy link
Owner

gitname commented Apr 28, 2024

Thanks for including the links in the issue description. I visited the deployed site and was able to navigate to different routes (looks like you are using hash-based routes). Since it looks to me like you got routing working and since routing is not part of the tutorial, I will close this issue.

@gitname gitname closed this as completed Apr 28, 2024
@gitname gitname changed the title Blank Page. Using React Router Routing works locally, but not on GitHub Pages Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
react-router App uses React Router
Projects
None yet
Development

No branches or pull requests

2 participants