working on it ...

Filters

Explore Public Snippets

Sort by

Found 1 snippet

    public by olivedev  56  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>

    List Complete ( 1 snippet total )

    Cannot find what you were looking for?
    Ask the Snip2Code Community

    • Public Snippets
    • Channels Snippets