I added proxy in package.json and it worked great, but after npm run build the CORS issue has resurfaced again, does anyone know how to deal with CORS issue after npm run bu
your server should enable the cross origin requests, not the client. To do this, you can check this nice page with implementations and configurations for multiple platforms