Install the react router-dom dependency. Install the react router-dom dependency. Install the react router-dom dependency
2. Delete the three APP files in the project
3. Create a Pages page file and a router routing file in the SRC directory
4. The index. Js introducing BrowserRouter
5. Start the project NPM start
You’ll see a page consisting of three routes that will be refined over time