Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Oct 26, 2022
1 parent 0326306 commit e181689
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Console/InstallsInertiaStacks.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,9 @@ protected function installInertiaReactStack()

// Views...
copy(__DIR__.'/../../stubs/inertia-common/resources/views/app.blade.php', resource_path('views/app.blade.php'));
$this->replaceInFile("@vite", '@viteReactRefresh'.PHP_EOL." @vite", resource_path('views/app.blade.php'));
$this->replaceInFile('@vite', '@viteReactRefresh'.PHP_EOL.' @vite', resource_path('views/app.blade.php'));
$this->replaceInFile("resources/js/Pages/{\$page['component']}.vue", "resources/js/Pages/{\$page['component']}.jsx", resource_path('views/app.blade.php'));
$this->replaceInFile("resources/js/app.js", "resources/js/app.jsx", resource_path('views/app.blade.php'));
$this->replaceInFile('resources/js/app.js', 'resources/js/app.jsx', resource_path('views/app.blade.php'));

// Components + Pages...
(new Filesystem)->ensureDirectoryExists(resource_path('js/Components'));
Expand Down

0 comments on commit e181689

Please sign in to comment.