Skip to content

KhawajaFashi/Devcon-Project

Repository files navigation

Vite Project Setup

Welcome to the Vite project! Follow the instructions below to set up and run the project on your local machine.

Prerequisites

Make sure you have the following installed before proceeding:

Installation

1. Clone the Repository

git clone <your-repo-url>

Replace <your-repo-url> with the actual URL of your repository.

2. Navigate to the Project Directory

cd <project-folder>

Replace <project-folder> with the actual folder name of your cloned repository.

3. Install Dependencies

npm install

4. Start the Development Server

npm run dev

This will start the Vite development server. You should see the local development URL in the terminal (e.g., http://localhost:5173/).

Building for Production

To create an optimized build, run:

npm run build

The output will be generated in the dist folder.

Running a Preview of the Build

To preview the built project locally, run:

npm run preview

Additional Scripts

  • npm run lint – Runs ESLint to check for code quality issues.
  • npm run format – Formats code using Prettier.

Contributing

If you make any changes or improvements, feel free to submit a pull request!

License

This project is licensed under MIT License.