tbakerx/react-resume-template

Problem of React portfolio page when deployed on Github.io with gh-pages library

tua2542 opened this issue · 2 comments

image
Figure.1 React portfolio page before deploy to Github.io (localhost)

image
Figure.2 React portfolio page after deploy to Github.io (github.io website)

I don't know that why any text and logo on there util last page is disappeared.

Move your resumeData.json file to the src folder.

Access the file by importing into App.js

import resumeData from "./resumeData.json"

Comment the line this.getResumeData(); in componentDidMount() of App.js

Add this line this.setState({resumeData: resumeData}); in componentDidMount() function.

Run the server to test. It should work as expected.

Deploy to check in pages.

It worked for me this way.

My sincere apologies for the inactivity on this project. I've been hard at work at my full-time role and haven't had much time to devote to my open source work. I have however, just released v2 of this project which will likely have resolved any current issues.

I will be closing all open issues at this time, if your issue persists into the current version please kindly re-open it and I will do my best to address them. Thank you for using the project!