[Vuejs]-Laravel vue pagination return invalid prop type check failed for prop

0๐Ÿ‘

โœ…

i fixed the issue using this.laravelData = response

0๐Ÿ‘

You fixed the issue. This is whyโ€ฆ

You declare the laravelData as an object

 laravelData: {},

but you assign it

this.laravelData = response.data

to an array

"data": [

Another fix for you might be to declare your laravalData as an array, and maybe you will see just the data, which looks like what you intended.

 laravelData: [],

Leave a comment