DEV Community
Hey all! First off, let me intro myself, I'm Ty from Canada. An aspriring developer that wants to get into that space! I may ask lots of dumb questions, but please know, if I'm asking, I've done my best to read up on docs and find the answer after research. I'm excited to learn from all you seasoned vets!
To my first question, I'm trying to deploy my first React page to github pages. I can't seem to get my routes, or my relative paths to work.
This is the route in the url: https://tpedora.github.io/myprofilepage/#/
With this being my main.js router code:
https://gist.github.com/tpedora/48ab638489f56f133451fd24fc8ff0c0
I also have my homepage set to "https://tpedora.github.io/myprofilepage" in my package.json.
For the life of me, I can't seem to get my routes working. Any and all help would be amazing!
- T
For further actions, you may consider blocking this person and/or reporting abuse
Read next
Day 1 [Job Search + Learning Python in back-end development]
remyclarke -
🌐 Unleashing GraphQL in Next.js: Effortless Data Fetching! 🚀
Hamza Khan -
Quão difícil é subir uma aplicação simples e monetizá-la em 2024?
Arthur Diesel -
Understanding Variables in JavaScript: A Beginner's Guide
codenextgen -
Top comments (0)