I have created the project using npm create vite@latest
and I choose ts-react, when I ran the script the
npm run dev
worked, no warning however, I am getting an Cannot find module '@vitejs/plugin-react' or its corresponding type
in vite.config.ts in vs code.
Screenshot of error
Try to restart your VSCode editor
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With