-
-
Notifications
You must be signed in to change notification settings - Fork 27k
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
deploying to github pages as subdirectory #478
Comments
I think the tutorial you linked to mentions the fix in the first sentence 😉 .
If you do this, Create React App will know to use |
Clarified in the doc: 6aabe7e. |
Ah, nice, thanks for the clarification @gaearon -- initially thought it was just meant as a flag to output the instructions. Super nice touch :) |
I have a small project with create-react-app, which I wanted to host on github pages. It would be:
The help in our tutorial was awesome. However, when loading the project, assets are not correctly found.
In the generated index.html, we have ->
This will direct github-pages too
which return a 400. It should instead direct to ->
Ideas:
/
prepended to it.The text was updated successfully, but these errors were encountered: