This project implements a simple contact form using React and Vite, optimized for fast bundling and performance. It allows users to submit inquiries or messages conveniently through a streamlined user interface.
- Responsive Design: Ensures compatibility across various devices and screen sizes.
- Fast Bundling with Vite: Utilizes Vite for quick development and production builds.
- GitHub Pages Hosting: Deployed on GitHub Pages for easy access and sharing.
Follow these steps to run the project locally:
-
Clone the repository:
git clone https://github.com/your-username/react-vite-contact-form.git cd react-vite-contact-form
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open in your browser:
http://localhost:3000
To deploy the project on GitHub Pages:
-
Update the
homepage
field inpackage.json
with your GitHub Pages URL:"homepage": "https://your-username.github.io/react-vite-contact-form/"
-
Build the project for production:
npm run build
-
Deploy to GitHub Pages:
npm run deploy
Contributions are welcome! Please fork the repository and submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
Feel free to customize it further based on additional features or specific configurations of your project.