PHP Classes

File: resources/views/livewire/post-index.blade.php

Recommend this page to a friend!
  Classes of Busari Ridwan   Laravel Livewire CRUD   resources/views/livewire/post-index.blade.php   Download  
File: resources/views/livewire/post-index.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Laravel Livewire CRUD
CRUD application implemented with Laravel Livewire
Author: By
Last change:
Date: 2 years ago
Size: 431 bytes
 

Contents

Class file image Download
<div>
    @if(session()->has('success'))
        <div class="alert alert-success">
            {{session('success')}}
        </div>
    @endif

    <livewire:post-create/>
    <hr>
    @if($posts->count())
        @foreach($posts as $post)
            <livewire:post-single :post="$post" :key="$post->id"/>
        @endforeach
    @else
        <p class="text-center">You don't posts</p>
    @endif
    {{$posts->links()}}
</div>