This snippet includes a script tag
<script>
export default {
data() {
return {
blogs: [],
};
},
created() {
this.paginate_total = this.blogs.length / this.paginate;
},
};
</script>
Displayed below is the response seen in my console:
{
"blogs": [
{
"_id": "63243272c988e721db51de9c",
},
{
"_id": "63243cb8a8189f8080411e65",
},
]
}
The error encountered in my console states:
Cannot read properties of undefined (reading 'length')
I need assistance figuring out what mistake I am making here