Website doesn't render anything. #12921
Unanswered
ShriWasTaken
asked this question in
Q&A
Replies: 2 comments
-
I have fixed it bro. I have send a pull request to your repository. Please merge it and then you can deploy to your github. I have done these 3 things to fix it:
import React from "react";
import ReactDOM from "react-dom";
import "./index.css";
import App from "./App";
ReactDOM.render(
<React.StrictMode>
<App />
</React.StrictMode>,
document.getElementById("root")
);
<Router basename={window.location.pathname || ""}> |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can view the pull request on your repository page or |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My code works locally but when I host it in github pages,it seems not to render,I changed my directories from "/something/something" to "./something./something".
Beta Was this translation helpful? Give feedback.
All reactions