Skip to content

Commit bcd4b39

Browse files
authored
Update TailwindCssPresetServiceProvider.php
1 parent 671405d commit bcd4b39

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/TailwindCssPresetServiceProvider.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
use Illuminate\Support\ServiceProvider;
66
use Laravel\Ui\UiCommand;
7+
use Laravel\Ui\AuthCommand;
78

89
class TailwindCssPresetServiceProvider extends ServiceProvider
910
{
@@ -16,7 +17,7 @@ public function boot()
1617
$command->comment('Please run "npm install && npm run dev" to compile your fresh scaffolding.');
1718
});
1819

19-
UiCommand::macro('tailwindcss-auth', function ($command) {
20+
AuthCommand::macro('tailwindcss', function ($command) {
2021
TailwindCssPreset::installAuth();
2122

2223
$command->info('Tailwind CSS scaffolding with auth views installed successfully.');

0 commit comments

Comments
 (0)