data: { sending: false }, methods: { form_submit (event) { this.sending = true axios.get(url, data) .then(res => { this.sending = false console.log(res.status, res.statusText, res.data) // => 200, "OK", { message: "You just sent the data!" } }) .catch(error => { this.sending = false throw error }) } } もっとVueに繋げる vue-resourceはVueと密に繋がって、 this.$http.get() みたいな感じで使うそうだ。 axiosは完全に独立しているけれど、 this から参照で