Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Access data out of Axios .then vue.js


created() {
    var self = this;
    axios.get('http://127.0.0.1/api/bills')
        .then(function (response) {
                self.contas = response.data;
                });
}

Source by w3programmers.org #
 
PREVIOUS NEXT
Tagged: #Access #data #Axios
ADD COMMENT
Topic
Name
3+2 =