my project is currently using Vue CLI and everything including the deployment via Netlify is working great. Today I wanted to try out to migrate to Vite. I set up everything locally and it worked. I then wanted to make a preview via Netlify but the page did not load because the “main application” was not able to load the desired chunks because of CORS.
For me CORS always only was something on the Backend-Side and I therefore have no real experience with that.
Any idea how to solve that issue?