From c349a78f14aa8cea2c760e8251431d7dd6e74ce7 Mon Sep 17 00:00:00 2001 From: guillaume91 Date: Wed, 29 May 2024 16:43:59 +0200 Subject: [PATCH] [reverb] 'reverb-dev'script in package.json --- laravel_app/package.json | 3 ++- .../views/livewire/components/pending-message.blade.php | 9 ++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/laravel_app/package.json b/laravel_app/package.json index 9e13f26..c576a11 100644 --- a/laravel_app/package.json +++ b/laravel_app/package.json @@ -3,7 +3,8 @@ "type": "module", "scripts": { "dev": "vite", - "build": "vite build" + "build": "vite build", + "reverb-dev": "php artisan reverb:start --debug" }, "devDependencies": { "@tailwindcss/forms": "^0.5.7", diff --git a/laravel_app/resources/views/livewire/components/pending-message.blade.php b/laravel_app/resources/views/livewire/components/pending-message.blade.php index 43c793d..36738ad 100644 --- a/laravel_app/resources/views/livewire/components/pending-message.blade.php +++ b/laravel_app/resources/views/livewire/components/pending-message.blade.php @@ -1,3 +1,6 @@ -@if($count > 0) -

Pending {{ $type }} for this project: {{ $this->count }}

-@endif + + @if($count > 0) +

Pending {{ $type }} for this project: {{ $this->count }}

+ @endif +
+