Infinite Scroll jQuery & Laravel 5 Paginate
问题 I am successfully returning the data from Controller public function index() { $posts = Post::with('status' == 'verified) ->paginate(30); return view ('show')->with(compact('posts')); } Also, I am successfully showing everything in my view: <div id="content" class="col-md-10"> @foreach (array_chunk($posts->all(), 3) as $row) <div class="post row"> @foreach($row as $post) <div class="item col-md-4"> <!-- SHOW POST --> </div> @endforeach </div> @endforeach {!! $posts->render() !!} </div>