DEV Community

tpedora
tpedora

Posted on

Help/Intro!

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

Top comments (0)