ALINAWAZ
3 months ago
449
12
Vue

I am try to search my record (use laravel and vue js )

Posted 3 months ago by ALINAWAZ

This is my server side code

$data = DB::select($sql)->paginate(5);
    return response()->json($data);

then get error on console

Call to a member function paginate() on array

how to fixed this error

Please sign in or create an account to participate in this conversation.