We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82e7b54 commit 2f22790Copy full SHA for 2f22790
src/TailwindCssPreset.php
@@ -109,7 +109,17 @@ protected static function scaffoldAuth()
109
FILE_APPEND
110
);
111
112
- (new Filesystem)->copyDirectory(__DIR__.'/tailwindcss-stubs/resources/views', resource_path('views'));
+ tap(new Filesystem, function ($filesystem) {
113
+ $filesystem->copyDirectory(__DIR__.'/tailwindcss-stubs/resources/views', resource_path('views'));
114
+
115
+ collect($filesystem->allFiles(base_path('vendor/laravel/ui/stubs/migrations')))
116
+ ->each(function (SplFileInfo $file) use ($filesystem) {
117
+ $filesystem->copy(
118
+ $file->getPathname(),
119
+ database_path('migrations/'.$file->getFilename())
120
+ );
121
+ });
122
123
}
124
125
protected static function compileControllerStub()
0 commit comments