This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Http\Client; | |
use GuzzleHttp\Promise; | |
use Illuminate\Http\Client\Events\ConnectionFailed; | |
use Illuminate\Http\Client\Events\RequestSending; | |
use Illuminate\Http\Client\Events\ResponseReceived; | |
use Illuminate\Http\Client\Request; | |
use Illuminate\Http\Client\Response; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div :class="{'loading': loading}" class="pager-data-wrapper"> | |
<!-- Pagination Slot --> | |
<slot :result="getResult()"> | |
<div class="text-center alert-info pb-3"> | |
<span v-if="!loading"> | |
{{ result.length }} items found. render it using v-for="item in result" | |
</span> | |
<span v-if="loading"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Illuminate\Database\Seeder; | |
use Illuminate\Database\Eloquent\Model; | |
class DatabaseSeeder extends Seeder | |
{ | |
protected $toTruncate = ['users']; | |
public function run() |