File tree Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -33,19 +33,6 @@ public function bootingPackage(): void
33
33
Blade::component ('livewire-tables::bootstrap-5.components.table.heading ' , 'livewire-tables::bs5.table.heading ' );
34
34
Blade::component ('livewire-tables::bootstrap-5.components.table.row ' , 'livewire-tables::bs5.table.row ' );
35
35
Blade::component ('livewire-tables::bootstrap-5.components.table.cell ' , 'livewire-tables::bs5.table.cell ' );
36
-
37
- $ this ->registerCommands ();
38
- }
39
-
40
- protected function registerCommands (): void
41
- {
42
- if (! $ this ->app ->runningInConsole ()) {
43
- return ;
44
- }
45
-
46
- $ this ->commands ([
47
- MakeCommand::class,
48
- ]);
49
36
}
50
37
51
38
/**
@@ -57,6 +44,7 @@ public function configurePackage(Package $package): void
57
44
->name ('laravel-livewire-tables ' )
58
45
->hasConfigFile ()
59
46
->hasViews ()
60
- ->hasTranslations ();
47
+ ->hasTranslations ()
48
+ ->hasCommand (MakeCommand::class);
61
49
}
62
50
}
You can’t perform that action at this time.
0 commit comments