Skip to content

Instantly share code, notes, and snippets.

@Shipu
Created August 20, 2022 19:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Shipu/2e28ddc407776c45c4041c64e27202e5 to your computer and use it in GitHub Desktop.
Save Shipu/2e28ddc407776c45c4041c64e27202e5 to your computer and use it in GitHub Desktop.
import { defineConfig } from 'vite'
import laravel, { refreshPaths } from 'laravel-vite-plugin'
export default defineConfig({
plugins: [
laravel({
input: [
'resources/css/app.css',
'resources/js/app.js',
],
refresh: [
...refreshPaths,
'app/Http/Livewire/**',
],
}),
],
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment