Follow these steps to set up a React page: ___ Prerequisites Ensure that you have Node.js and npm (Node Package Manager) installed on your system. You can check the installation by running the following commands:
node -v
npm -v
Create a new React project by running the following command in your terminal:
npm create vite
Then provide a name for the project (eg: my-react-page) Then choose react from next step Choose the language that you prefer (Javascript/ Typescript) Navigate to the project directory:
cd my-react-page
After Creating Project or Cloning the existing Project Install project dependencies by running the following command:
npm install
Start the development server:
npm run dev
Open your web browser and visit http://localhost:5173/ to see the React page.
Deployment To deploy the React page, build the optimized production-ready bundle by running the following command:
npm run build
The bundled files will be generated in the build directory, which can be deployed to a web server.
## Our Team
* E/19/227 - Jeewajith Madhushanka email
* E/19/236 - Lahiru Manikdiwela email
* E/19/240 - Shenal Mendis email