Skip to content

Instantly share code, notes, and snippets.

@Shipu
Created Aug 20, 2022
Embed
What would you like to do?
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