CORS blocking client request in Nuxt.js
问题 I am having issues when making a client request. I have followed the documentation on Nuxt.js and Axios but I still can't seem to get it working. Maybe I am missing something.. My Vue component calling the vuex action : methods: { open() { this.$store.dispatch('events/getEventAlbum'); } } The action in vuex : export const actions = { async getEventAlbum(store) { console.log('album action'); const response = await Axios.get(url + '/photos?&sign=' + isSigned + '&photo-host=' + photoHost); store