evarghese563 / StudioGhibli

0 stars 0 forks source link

some touchups for React #1

Closed erikyuzwa closed 2 years ago

erikyuzwa commented 2 years ago

Hey I'm pretty sure the empty white page that's showing up on application start is some minor React issues that could be addressed:

The index.js could be updated to:

<React.StrictMode>
      <BrowserRouter>
          <App />
      </BrowserRouter>
  </React.StrictMode>

and then in App.js:

<div className="App">
        <Navbar />
        <Routes>
          <Route exact path='/' element={<GhibliModal/>}></Route>
          <Route exact path='/aggrid' element={<Aggrid />}></Route>
        </Routes>
      </div>
erikyuzwa commented 2 years ago

Then the following comes up for me

Screenshot 2022-10-11 110022

evarghese563 commented 2 years ago

Hey I fixed the issues but the war files are still not showing up. I am attaching 2 war files to my releases could you please check if they run? web.war war is just the react frontend Ghibli.war is react packaged into spring boot

erikyuzwa commented 2 years ago

closing to open new one against latest