initially I have created a folder 0MyShop and inside that folder I have created react vite app for frontend as below,
npm create vite@latest MyShop-Frontend --template react-ts cd MyShop-Frontend
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