laravelページネーションを使用しています。次のページまたはページ番号をクリックすると、何も起こりません。 コントローラ機能ページ番号をクリックするとページネーションが機能しない
public function getIndex()
{
$articles = Inspector::paginate(15);
return view('admin.inspector.test', compact('articles'));
}
ビューファイル
<table class="table table-bordered" id="mytable">
<thead>
<tr>
<th>Sr. No. </th>
<th>Email</th>
</tr>
</thead>
<tbody>
@foreach ($articles as $article)
<tr>
<td>{{ $article->id }}</td>
<td>{{ $article->email }}</td>
</tr>
@endforeach
</tbody>
</table>
{!! $articles->render() !!}
すべてのヘルプははるかに高く評価されたアクションの呼び出し中...おかげで...
エラーは何ですか?あなたは '{!! –