0๐
-
You can take a look at Google Cloud docs about allowing your domain so you can make Cross Origin Requests to you Vision Api
-
Secondly you can make your requests from a server(eg node.js) and serve your Vue.js app with that server, and in that server you can make requests to Vision API so that you can use that api with Vue.js so it will not blocked by CORS. You can take a look at what backend you can use with Vue.js
Source:stackexchange.com