Todo is developed with Vite and React. I built this example to showcase components, event handlers, and useState. It does not store anything in the browser's localStorage.
Client: React, TailwindCSS
Build Tool: Vite
Clone the repository
cd react-todo
npm install
npm run devTo 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 deployOther Way by Github Actions
Follow this: https://github.com/sitek94/vite-deploy-demo