Skip to content

Commit

Permalink
fix: copy missing files & delete js folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Ibnu committed Apr 5, 2022
1 parent 9af5646 commit 64467f6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Console/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,10 @@ protected function installInertiaStack()
(new Filesystem)->copyDirectory(__DIR__ . '/../../stubs/inertia/resources/views/layouts', resource_path('views/layouts'));
(new Filesystem)->copyDirectory(__DIR__ . '/../../stubs/inertia/resources/views/components', resource_path('views/components'));

(new Filesystem)->copyDirectory(__DIR__ . '/../../stubs/inertia/resources/composables', resource_path('composables'));
(new Filesystem)->copyDirectory(__DIR__ . '/../../stubs/inertia/resources/css', resource_path('css'));
(new Filesystem)->deleteDirectory(resource_path('js'));

// (new Filesystem)->copyDirectory(base_path('vendor/laravel/jetstream/stubs/inertia/resources/js/Jetstream', resource_path('js/Jetstream'));
// (new Filesystem)->copyDirectory(base_path('vendor/laravel/jetstream/stubs/inertia/resources/js/Layouts', resource_path('js/Layouts'));
// (new Filesystem)->copyDirectory(base_path('vendor/laravel/jetstream/stubs/inertia/resources/js/Pages/API', resource_path('js/Pages/API'));
Expand Down

0 comments on commit 64467f6

Please sign in to comment.