Skip to content
On this page

Getting Started

Installation

The first step is to install dependencies using yarn or npm inside the ./react-version directory:

bash
npm install

# or use yarn
yarn

Run development mode

bash
npm run dev

# or use yarn
yarn dev

Generating build for production

  1. To generate a production build, use the following commands:
bash
npm run build

# or use yarn
yarn build
  1. Once the build files are generated, you can preview using the following commands:
bash
npm run build

# or use yarn
yarn build

WARNING

Make sure to run the commands in the project folder, in this case it is ./react-version

TIP

For more information on how to use vite for development and production visit: https://vitejs.dev/guide/static-deploy.html