Getting Started
Setting up the local environment and workspace
This guide explains how to set up your environment for vite development using
the React tool. It includes information about prerequisites, installing
this, creating an initial workspace and starter app, and running that app
locally to verify your setup.
For getting started an React Application you needs 2 things as Prerequisites.
Prerequisites
To use the React Framework, you should be familiar with the following:
- React
- vite
- CSS
- JavaScript
Knowledge of JavaScript is helpful.
To install vite on your local System, you need the following:
Node.js
vite requires a current, active LTS (long term support) or maintenance LTS
(long term support) version of Node.js.
Download latest version of node.js from nodejs.org.
Install Node.js using downloaded file.
To check your node version, run node -v in a terminal/console window (cmd)
Npm package Manager
The vite and React applications depend on npm packages for
many features and functions.
To download and install npm packages, you need an npm package
manager.
This guide uses the npm client command line interface, which is installed with
Node.js by default.
To check that you have the npm client installed, run npm -v in a
terminal/console window (cmd)
For better understanding React we suggest you once go through official
documentation of React from React
Documentation and for vite Vite documentation