first commit

This commit is contained in:
2026-02-04 23:23:42 +07:00
commit ee28ea1a2d
202 changed files with 34797 additions and 0 deletions

34
laravel/vite.config.ts Normal file
View File

@@ -0,0 +1,34 @@
import { wayfinder } from '@laravel/vite-plugin-wayfinder';
// @ts-ignore
import tailwindcss from '@tailwindcss/vite';
// @ts-ignore
import react from '@vitejs/plugin-react';
import laravel from 'laravel-vite-plugin';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [
laravel({
input: ['resources/css/app.css', 'resources/js/app.tsx'],
ssr: 'resources/js/ssr.tsx',
refresh: true,
}),
react({
babel: {
plugins: ['babel-plugin-react-compiler'],
},
}),
tailwindcss(),
wayfinder({
formVariants: true,
}),
],
esbuild: {
jsx: 'automatic',
},
server: {
proxy: {
'/api': 'http://localhost:8080',
},
},
});