カスタムLaravelページネーションを画像に置き換えるにはどうすればよいですか? ページを再読み込みせずに次のデータセットを取得したいと思います。 コントローラは次のようになります。 5.3することができますcustomize pagination viewsでLaravel 5.3、改ページリンク(<< and >>)を画像に置き換えます。
class HomeController extends Controller
{
public function index()
{
$featured_products = DB::table('products')
->where('feature_type','=',3)
->orderBy('created_at','DESC')
->simplePaginate(4);
$latest_products = DB::table('products')
->orderBy('created_at','DESC')
->simplePaginate(4);
return View::make('pages.home')
->with(['featured_products'=>$featured_products,'latest_products'=>$latest_products]);
}
}