Skip to content

Commit a452bd2

Browse files
authored
Merge pull request #17 from amusso01/master
Update UIKit3Preset.php
2 parents 924514e + 287a8c8 commit a452bd2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/UIKit3Preset.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,20 +67,20 @@ protected static function updateWebpackConfiguration()
6767
*/
6868
protected static function updateBootstrapping()
6969
{
70-
copy(__DIR__.'/stubs/app.scss', resource_path('assets/sass/app.scss'));
70+
copy(__DIR__.'/stubs/app.scss', resource_path('sass/app.scss'));
7171

7272
tap(new Filesystem, function ($filesystem) {
7373
$filesystem->delete(resource_path('assets/sass/_variables.scss'));
7474

7575
$bootstrapJs = str_replace(
7676
"require('bootstrap');",
7777
"window.UIkit = require('uikit');",
78-
$filesystem->get(resource_path('assets/js/bootstrap.js'))
78+
$filesystem->get(resource_path('js/bootstrap.js'))
7979
);
8080

8181
$bootstrapJs = str_replace("window.Popper = require('popper.js').default;", '', $bootstrapJs);
8282

83-
$filesystem->put(resource_path('assets/js/bootstrap.js'), $bootstrapJs);
83+
$filesystem->put(resource_path('js/bootstrap.js'), $bootstrapJs);
8484
});
8585
}
8686

0 commit comments

Comments
 (0)