This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
YT Tutorial Link : https://www.youtube.com/watch?v=5aWpwuiRzpQ&t=8s
To run the project :
- Make sure you have all the dependencies installed
- npm run dev
To deploy the project make sure you have a custom domain and and a account created on netlify
- npm run build
- npm run preview - to check whether the latest changes have been picked up or not
- Go to netlify.com, navigate to your site, click on the deployments tab in the top right corner
- Upload the newly created dist folder