Answer the question
In order to leave comments, you need to log in
How to make an ajax request in Vuejs2?
Hello!
Help, in Vu how to make an Ajax request?
and I did this,
wrote such a method and it is called when clicked
getContent(){
this.$http.get('http://user.loc/users')
.then(res => {
console.log(res.data);
});
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question