From b0dbee2382b844a2d2c4928bfa6b82627600d4f1 Mon Sep 17 00:00:00 2001 From: Laraveldeep Date: Mon, 10 Sep 2018 18:19:29 +0545 Subject: [PATCH] Modify path to reflect folder structure changes in Laravel 5.7 --- src/ZurbFoundationPreset.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/ZurbFoundationPreset.php b/src/ZurbFoundationPreset.php index 890cf88..7856adb 100644 --- a/src/ZurbFoundationPreset.php +++ b/src/ZurbFoundationPreset.php @@ -53,16 +53,16 @@ protected static function updatePackageArray(array $packages) protected static function updateSass() { // clean up orphan files - $orphan_sass_files = glob(resource_path('/assets/sass/*.*')); + $orphan_sass_files = glob(resource_path('/sass/*.*')); foreach($orphan_sass_files as $sass_file) { (new Filesystem)->delete($sass_file); } - copy(__DIR__.'/foundation-stubs/_settings.scss', resource_path('assets/sass/_settings.scss')); - copy(__DIR__.'/foundation-stubs/foundation.scss', resource_path('assets/sass/foundation.scss')); - copy(__DIR__.'/foundation-stubs/app.scss', resource_path('assets/sass/app.scss')); + copy(__DIR__.'/foundation-stubs/_settings.scss', resource_path('sass/_settings.scss')); + copy(__DIR__.'/foundation-stubs/foundation.scss', resource_path('sass/foundation.scss')); + copy(__DIR__.'/foundation-stubs/app.scss', resource_path('sass/app.scss')); } /** @@ -73,10 +73,10 @@ protected static function updateSass() protected static function updateBootstrapping() { (new Filesystem)->delete( - resource_path('assets/js/bootstrap.js') + resource_path('js/bootstrap.js') ); - copy(__DIR__.'/foundation-stubs/bootstrap.js', resource_path('assets/js/bootstrap.js')); + copy(__DIR__.'/foundation-stubs/bootstrap.js', resource_path('js/bootstrap.js')); } /**