File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ public static function install()
17
17
static ::updateStyles ();
18
18
static ::updateBootstrapping ();
19
19
static ::updateWelcomePage ();
20
+ static ::updatePagination ();
20
21
static ::removeNodeModules ();
21
22
}
22
23
@@ -68,6 +69,13 @@ protected static function updateBootstrapping()
68
69
copy (__DIR__ .'/tailwindcss-stubs/resources/js/bootstrap.js ' , resource_path ('js/bootstrap.js ' ));
69
70
}
70
71
72
+ protected static function updatePagination ()
73
+ {
74
+ (new Filesystem )->delete (resource_path ('views/vendor/paginate ' ));
75
+
76
+ (new Filesystem )->copyDirectory (__DIR__ .'/tailwindcss-stubs/resources/views/vendor/pagination ' , resource_path ('views/vendor/pagination ' ));
77
+ }
78
+
71
79
protected static function updateWelcomePage ()
72
80
{
73
81
(new Filesystem )->delete (resource_path ('views/welcome.blade.php ' ));
Original file line number Diff line number Diff line change 2
2
3
3
namespace LaravelFrontendPresets \TailwindCssPreset ;
4
4
5
+ use Illuminate \Pagination \Paginator ;
5
6
use Illuminate \Support \ServiceProvider ;
6
7
use Laravel \Ui \UiCommand ;
7
8
use Laravel \Ui \AuthCommand ;
@@ -23,5 +24,9 @@ public function boot()
23
24
$ command ->info ('Tailwind CSS scaffolding with auth views installed successfully. ' );
24
25
$ command ->comment ('Please run "npm install && npm run dev" to compile your fresh scaffolding. ' );
25
26
});
27
+
28
+ Paginator::defaultView ('pagination::default ' );
29
+
30
+ Paginator::defaultSimpleView ('pagination::simple-default ' );
26
31
}
27
32
}
You can’t perform that action at this time.
0 commit comments