Skip to content

Commit 8454f8b

Browse files
authored
Fix PresetCommand
1 parent 5d0d73f commit 8454f8b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/BulmaPresetServiceProvider.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
namespace LaravelFrontendPresets\BulmaPreset;
33

44
use Illuminate\Support\ServiceProvider;
5-
use Illuminate\Foundation\Console\PresetCommand;
5+
use Laravel\Ui\UiCommand;
66

77
class BulmaPresetServiceProvider extends ServiceProvider
88
{
@@ -13,13 +13,13 @@ class BulmaPresetServiceProvider extends ServiceProvider
1313
*/
1414
public function boot()
1515
{
16-
PresetCommand::macro('bulma', function ($command) {
16+
UiCommand::macro('bulma', function ($command) {
1717
BulmaPreset::install(false);
1818
$command->info('Bulma scaffolding installed successfully.');
1919
$command->comment('Please run "npm install && npm run dev" to compile your fresh scaffolding.');
2020
});
2121

22-
PresetCommand::macro('bulma-auth', function ($command) {
22+
UiCommand::macro('bulma-auth', function ($command) {
2323
BulmaPreset::install(true);
2424
$command->info('Bulma scaffolding with Auth views installed successfully.');
2525
$command->comment('Please run "npm install && npm run dev" to compile your fresh scaffolding.');

0 commit comments

Comments
 (0)