[Vuejs]-Vue js in laravel

0👍

you just need to write this.tweets also you need to change your callback function to arrow function to allow you to access your state like this

 async recupera_post(){
     await axios.get('api/schedulepost')
     .then((response) => {
       console.log(response.data)
       this.tweets = response.data
     })
  }
}

Leave a comment