score:-1

<Router>
    <div className = "app">
     <nav />
      <div className = "container">
       //routes to be render here

     <Route exact path = "/sample" component = {Sample} />
      </div>
     <footer />
    </div>
   </Router>

Related Query

More Query from same tag