Skip to content

Commit 2839ea7

Browse files
author
AndrewP
committed
Update Service Provider
1 parent 73a4a99 commit 2839ea7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/TailwindCssPreset.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ public static function install()
1515
static::updateStyles();
1616
static::updateBootstrapping();
1717
static::updateWelcomePage();
18+
static::updatePagination();
1819
static::removeNodeModules();
1920
}
2021

@@ -71,6 +72,13 @@ protected static function updateWelcomePage()
7172
copy(__DIR__.'/tailwindcss-stubs/resources/views/welcome.blade.php', resource_path('views/welcome.blade.php'));
7273
}
7374

75+
protected static function updatePagination()
76+
{
77+
(new Filesystem)->delete(resource_path('views/vendor/paginate'));
78+
79+
copy(__DIR__.'/tailwindcss-stubs/resources/views/paginate', resource_path('views/paginate'));
80+
}
81+
7482
protected static function scaffoldAuth()
7583
{
7684
file_put_contents(app_path('Http/Controllers/HomeController.php'), static::compileControllerStub());

0 commit comments

Comments
 (0)