[Vuejs]-Laravel and vue js using axios returns undefined when console.log() or viewed

0👍

You are missing {}

.then(res => { console.log(res.data.chapters); })
.catch(err => { console.log(err.response.data); })

Leave a comment