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()) {