This project is a setup for React working in Vite with HMR, ESLint rules, and fast refresh capabilities using @vitejs/plugin-react and @vitejs/plugin-react-swc.
- Node.js and npm: If you don't have Node.js installed, you can download and install it from Node.js official website.
-
Clone the Repository
First, you need to clone the repository to your machine. Open your terminal and run:
git clone https://github.com/Aggroid/userListTask cd my-react-app
-
Install Dependencies
Once inside your project directory, you can install the necessary project dependencies using:
npm install
This will read the
package.json
file in the project and install all required libraries and dependencies.
After the installation is complete, you can start the development server using:
npm run dev
This command will start the Vite development server, and the project should open in your default web browser. The application will automatically reload if you make any changes to the source files.
To generate a production-ready build, run:
npm run build