StopWatch

StopWatch is developed with Vite and React.I built this for an example of useState and useEffect.

Tech Stack

Client: React, TailwindCSS

Build Tool: Vite

Installation

Clone the repository

  cd stopWatch
  npm install
  npm run dev

Deployment

To deploy this project run

npm install gh-pages --save-dev

In the package.json file add these lines before "build": "vite build",

"predeploy": "npm run build",
"deploy": "gh-pages -d dist",

In the vite.config.js file add this line before plugins: [react()],

base: "/Repository name/",

Go to Terminal

npm run deploy

Other Way by Github Actions

Follow this: https://github.com/sitek94/vite-deploy-demo