I love the way how laravel 5.5
make it so very simple to use pagination
///controller
$posts = Post::where('user_id','=',$user->id)->paginate(10);
return view('posts.index',compact('posts'));
///view
//<-- this line does all the magic!
However, I want to use in my vue
component. Is it possible? Or do I have to go through all the way to reinvent the wheel in vue
component itself like other developers?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2AKmJXG
via IFTTT
Aucun commentaire:
Enregistrer un commentaire