Skip to content

homepage property in package.json breaking the aceess to the css files in the public folder. #11522

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

Open
arunkumar413 opened this issue Oct 8, 2021 · 1 comment

Comments

@arunkumar413
Copy link

Hi Team,

I recently tried to deploy react app as github pages by applying the homepage property in the package.json file. But it broke the relative path in the public folder. Could you please guide me on how to access the css files from in the public folders with the homepage property being set?

index.html file content

<link rel="stylesheet" type="text/css" href="index.css" />

package.json

"homepage": "http://arunkumar413.github.io/craHookTemplate"

@stale
Copy link

stale bot commented Jan 9, 2022

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant