You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
first of all, thanks for the good work and that great project. I'm havin major troubles though, using react-router-dom v6 with gh-pages.
As soon as i start using routes, the gh-page just shows a lank screen.
For example this is the App.tsx code
import './App.css';
import { BrowserRouter, Route, Routes } from 'react-router-dom';
import { Home } from './pages/Home';
import DemonList from './pages/DemonList';
function App() {
return (
<div className="App">
<BrowserRouter basename={process.env.PUBLIC_URL}>
<Routes>
<Route path="/" element={<Home />}></Route>
<Route path="/demons" element={<DemonList />}></Route>
</Routes>
</BrowserRouter>
</div>
);
}
export default App;
Hi @Lionelsy and @catherineisonline, sorry about the long wait. If you are still getting GitHub's HTTP 404 error page, you may want to employ one of the two workarounds I listed in #104 (comment).
Hi @OliverZott, sorry I am only replying now. I see the "Here are demons" UI at the link you provided, so I think things are working for you now. Please let me know whether you still have questions.
Hi,
first of all, thanks for the good work and that great project. I'm havin major troubles though, using react-router-dom v6 with gh-pages.
As soon as i start using routes, the gh-page just shows a lank screen.
For example this is the App.tsx code
The html source-view at https://oliverzott.github.io/react-gh-page/ is just showing
I tried a lot of suggested fixes and workarounds, but nothing worked so far.
Best regards
Olli
The text was updated successfully, but these errors were encountered: