Skip to content

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

Open
@arunkumar413

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"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @arunkumar413

        Issue actions

          homepage property in package.json breaking the aceess to the css files in the public folder. · Issue #11522 · facebook/create-react-app