Skip to content

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

Description

@arunkumar413

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"

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions