Skip to content

Deploy to github pages #218

Closed
Closed
@nbrohee

Description

@nbrohee

Rather than deploying to a cloud vendor website, I tried to deploy to github pages.
Here are my changes to do so with a live version accessible here
I had to remove the publicPath in webpack.config.prod.js as github pages serves the site in a subdomain.

Almost everything works as intended except for the rooting (I think) behaving weirdly.
As you can see here :

  • the app lands on the 404 page instead of the default one
  • navigation replaces the subdomain instead of appending the route path to it.

I know React-slingshot is meant to be served from the website root but any help would be appreciated.

Could be a similar issue to #214

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions