Skip to content

TeamUnicus/Coders_TravelX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TravelX

React Page Setup Instructions

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

Project Setup

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published