I\'m using:
And after trying to login to my page when using
1) Be sure that server sends Access-Control-Allow-Origin "*" header.
2) Vue.http.headers.common['Access-Control-Allow-Origin'] = true, Vue.http.headers.common['Access-Control-Allow-Origin'] = '*' and etc. don't needed in the client request.
3) Vue.http.options.emulateJSON = true should helps if 1 and 2 points already are ok, but vue-resource fails with status 0. Also, try to remove (if they exist) Vue.http.options.credentials = true and
Vue.http.options.emulateHTTP = true.