Skip to content

Commit b0dbee2

Browse files
committed
Modify path to reflect folder structure changes in Laravel 5.7
1 parent 265a809 commit b0dbee2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/ZurbFoundationPreset.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,16 @@ protected static function updatePackageArray(array $packages)
5353
protected static function updateSass()
5454
{
5555
// clean up orphan files
56-
$orphan_sass_files = glob(resource_path('/assets/sass/*.*'));
56+
$orphan_sass_files = glob(resource_path('/sass/*.*'));
5757

5858
foreach($orphan_sass_files as $sass_file)
5959
{
6060
(new Filesystem)->delete($sass_file);
6161
}
6262

63-
copy(__DIR__.'/foundation-stubs/_settings.scss', resource_path('assets/sass/_settings.scss'));
64-
copy(__DIR__.'/foundation-stubs/foundation.scss', resource_path('assets/sass/foundation.scss'));
65-
copy(__DIR__.'/foundation-stubs/app.scss', resource_path('assets/sass/app.scss'));
63+
copy(__DIR__.'/foundation-stubs/_settings.scss', resource_path('sass/_settings.scss'));
64+
copy(__DIR__.'/foundation-stubs/foundation.scss', resource_path('sass/foundation.scss'));
65+
copy(__DIR__.'/foundation-stubs/app.scss', resource_path('sass/app.scss'));
6666
}
6767

6868
/**
@@ -73,10 +73,10 @@ protected static function updateSass()
7373
protected static function updateBootstrapping()
7474
{
7575
(new Filesystem)->delete(
76-
resource_path('assets/js/bootstrap.js')
76+
resource_path('js/bootstrap.js')
7777
);
7878

79-
copy(__DIR__.'/foundation-stubs/bootstrap.js', resource_path('assets/js/bootstrap.js'));
79+
copy(__DIR__.'/foundation-stubs/bootstrap.js', resource_path('js/bootstrap.js'));
8080
}
8181

8282
/**

0 commit comments

Comments
 (0)