I'm new to Vue.js. How do I use the setTimeout in Vue.js?
Here is where I want to timeout
dataReq.end((err, resp) => {
resp = JSON.parse(resp.text)
if (resp.status) {
setTimeout(this.$router.push, 10000)(this.breadcrumbs[2].path)
}
})