From 97b39c97d74e7b4126b091669731d990f7c22401 Mon Sep 17 00:00:00 2001 From: Josh Torres Date: Sun, 17 Mar 2024 08:54:47 -0700 Subject: [PATCH] - add livewire-calendar service container binding --- src/LivewireCalendarServiceProvider.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/LivewireCalendarServiceProvider.php b/src/LivewireCalendarServiceProvider.php index 8256248..da78c73 100755 --- a/src/LivewireCalendarServiceProvider.php +++ b/src/LivewireCalendarServiceProvider.php @@ -12,6 +12,10 @@ class LivewireCalendarServiceProvider extends ServiceProvider */ public function boot() { + $this->app->bind('livewire-calendar', function () { + return new LivewireCalendar(); + }); + $this->loadViewsFrom(__DIR__.'/../resources/views', 'livewire-calendar'); if ($this->app->runningInConsole()) {