diff --git a/src/Console/InstallCommand.php b/src/Console/InstallCommand.php index 6f2b96fa6..e5166ae09 100644 --- a/src/Console/InstallCommand.php +++ b/src/Console/InstallCommand.php @@ -354,7 +354,7 @@ protected function installInertiaStack() '@inertiajs/vue3' => '^1.0.0', '@tailwindcss/forms' => '^0.5.2', '@tailwindcss/typography' => '^0.5.2', - '@vitejs/plugin-vue' => '^4.0.0', + '@vitejs/plugin-vue' => '^4.5.0', 'autoprefixer' => '^10.4.7', 'postcss' => '^8.4.14', 'tailwindcss' => '^3.1.0', diff --git a/stubs/livewire/vite.config.js b/stubs/livewire/vite.config.js index f190771ba..89f26f5db 100644 --- a/stubs/livewire/vite.config.js +++ b/stubs/livewire/vite.config.js @@ -1,5 +1,5 @@ import { defineConfig } from 'vite'; -import laravel, { refreshPaths } from 'laravel-vite-plugin'; +import laravel from 'laravel-vite-plugin'; export default defineConfig({ plugins: [ @@ -8,10 +8,7 @@ export default defineConfig({ 'resources/css/app.css', 'resources/js/app.js', ], - refresh: [ - ...refreshPaths, - 'app/Livewire/**', - ], + refresh: true, }), ], });