- Install Node.js:
If you haven't already, download and install Node.js from Node.js website.
- Create a React App:
Open your terminal and run the following command to create a new React app using Create React App:
npm create vite@latest / npm init vite@latest my-vite-project
- Navigate to the Project Directory:
Move into the newly created Vite project directory using the terminal:
cd my-vite-project
- Install Dependencies:
Inside the project directory, install the project dependencies using npm:
npm install
- Run React App at localhost:
Launch the development server provided by Vite to begin development:
npm run dev
Top comments (0)