A simple clock and stopwatch application built with React and Vite.
- Displays the current time in hours and minutes.
- Stopwatch functionality to measure elapsed time.
- Responsive design for various screen sizes.
- Just open the
dist/index.htmlfile in your browser to see the application in action. No installation is required. To regenerate the single HTML file app in dist, run:
npm run buildOr directly with Vite:
npx vite buildThe project uses the vite-plugin-singlefile plugin, which bundles everything (CSS, JavaScript, assets) into a single index.html file in the dist folder. The build output will be ready for deployment.
- Clone the repository:
git clone https://github.com/iantalabs/clock-app.git- Navigate to the project directory:
cd clock-app- Install dependencies:
npm install- Start the development server:
npm run dev- Open your browser and go to
http://localhost:5173/to see the application in action.
- React: A JavaScript library for building user interfaces.
- Vite: A fast build tool for modern web projects.
- CSS: For styling the application.
