Reactjs – How to handle default path
I am using React Router for my website and I encountered following problem. I have defined my main App component as follows: import './App.css' import { Navbar } from './Navbar' import { Outlet } from 'react-router' function App() { return…