Answer the question
In order to leave comments, you need to log in
Why don't Axios asynchronous requests work in Vue?
So I send
async created() {
let code = await this.$axios.post('/worker/promocode')
this.code = code.promocode;
}
ReferenceError: regeneratorRuntime is not defined
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