Skip to content

Commit 74400d9

Browse files
committed
introduce alias (make:livewire-datatable, livewire:datatable)
1 parent 8ac87b7 commit 74400d9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/LivewireDatatablesServiceProvider.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
use Illuminate\Support\ServiceProvider;
1212
use Illuminate\Support\Str;
1313
use Livewire\Livewire;
14+
use Mediconesystems\LivewireDatatables\Commands\DatatableMakeCommand;
1415
use Mediconesystems\LivewireDatatables\Commands\MakeDatatableCommand;
1516
use Mediconesystems\LivewireDatatables\Http\Controllers\FileExportController;
1617
use Mediconesystems\LivewireDatatables\Http\Livewire\ComplexQuery;
@@ -48,7 +49,7 @@ public function boot()
4849
__DIR__ . '/../resources/views/icons' => resource_path('views/livewire/datatables/icons'),
4950
], 'views');
5051

51-
$this->commands([MakeDatatableCommand::class]);
52+
$this->commands([MakeDatatableCommand::class, DatatableMakeCommand::class]);
5253
}
5354

5455
Route::get('/datatables/{filename}', [FileExportController::class, 'handle'])

0 commit comments

Comments
 (0)