Creating a new React Router application

Prerequisites

Install the development tools

Visual Studio Code

pnpm

See Install pnpm

Create the new application

To create a new React Router web application create a directory for the project and open a terminal and execute

npx create-react-router@latest MY_APPLICATION_NAME

Run the application

To run the web application, in the application root directory execute

cd MY_APPLICATION_NAME
pnpm i
pnpm run dev

Leave a comment

Your email address will not be published. Required fields are marked *