Skip to content

Commit 2b6c030

Browse files
Update TablerPreset.php
Fixes to styling
1 parent ff6bc05 commit 2b6c030

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/TablerPreset.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,13 @@ protected static function updateBootstrapping()
6262
copy(__DIR__.'/tabler-stubs/webpack.mix.js', base_path('webpack.mix.js'));
6363

6464
if (self::isLaravel57orUp()) {
65-
file_put_contents(base_path('webpack.mix.js'), str_replace("assets/", "", file_get_contents(base_path('webpack.mix.js'))));
65+
file_put_contents(base_path('webpack.mix.js'),
66+
str_replace(
67+
"assets/",
68+
"",
69+
file_get_contents(base_path('webpack.mix.js'))
70+
)
71+
);
6672
}
6773

6874
copy(__DIR__.'/tabler-stubs/bootstrap.js', static::getResourcePath('js/bootstrap.js'));
@@ -97,7 +103,7 @@ protected static function compileControllerStub()
97103
}
98104

99105
/**
100-
* Gets resource path depending on version of Laravel
106+
* Gets resource path depending on version of Laravel.
101107
*
102108
* @param string $path
103109
* @return string

0 commit comments

Comments
 (0)