update in vue js and axios code example
Example: vuejs list items from axios
-
{{food.name}}
- {{nutrient.nutrient_id}}
axios.get(url).then(response => {
this.foods = response.data.report.foods
})