2025-07-10 15:24:15 +02:00
|
|
|
import tailwindcss from '@tailwindcss/vite';
|
|
|
|
|
import laravel from 'laravel-vite-plugin';
|
|
|
|
|
import { defineConfig } from 'vite';
|
|
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
|
plugins: [
|
|
|
|
|
laravel({
|
2026-08-16 00:57:07 +02:00
|
|
|
input: ['resources/css/app.css'],
|
2025-07-10 15:24:15 +02:00
|
|
|
refresh: true,
|
|
|
|
|
}),
|
|
|
|
|
tailwindcss(),
|
|
|
|
|
],
|
2026-08-16 00:57:07 +02:00
|
|
|
server: {
|
|
|
|
|
host: '0.0.0.0',
|
|
|
|
|
port: 5173,
|
|
|
|
|
strictPort: true,
|
|
|
|
|
cors: true,
|
|
|
|
|
hmr: {
|
|
|
|
|
host: 'localhost',
|
2025-07-10 15:24:15 +02:00
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
});
|