This shows the basic usage of React Router to navigate between three pages Home, Cart and Checkout page It uses BrowserRouter, Route, Switch and Link from react-router-dom
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Below are the snapshot of the UI for this repository.