olivedev
olivedev
Reputation Top 5%
olivedev @ Snip2Code
1 Snippet  (375th place)
Published
1 Channel
Created
1 Channel
Following
50 points  (600th place)
Reputation
Junior Code Generator
Junior Publisher
Junior Trend Maker
Junior Autobiographer
Senior Autobiographer

Recent Snippets See all snippets by olivedev

public by olivedev  53  0  3  0

Creating Pagination in Laravel

View file for Laravel Pagination (https://www.cloudways.com/blog/vue-pagination-in-laravel/ ) using vuejs
<<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Users Data</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="{{ asset('css/app.css') }}" rel="stylesheet" />
</head>
<body>
<div class="container">
<table class="table table-striped">
<thead>
<tr>
<th>ID</th>
<th>Name</th>
<th>Email</th>
</tr>
</thead>
<tbody>
@foreach($employees as $emp)
<tr>
<td>{{ $emp->id }}</td>
<td>{{ $emp->name }}</td>
<td>{{ $emp->email }}</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</body>
</html>
;