Answers for "vue await in component"

0

vue await in component

//Add "async" to your function:
async foo() {
	await axios
  		.get(...)
        .then(...)
  		.catch(...)
}
Posted by: Guest on August-20-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language