first commit

This commit is contained in:
Lars Behrends
2026-01-21 21:40:09 +01:00
commit 4853b860fc
45 changed files with 16072 additions and 0 deletions

21
vite.config.ts Normal file
View File

@@ -0,0 +1,21 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
server: {
port: 3000,
proxy: {
'/api': {
target: 'http://localhost:8080',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, '')
}
}
},
build: {
outDir: '../public/react',
emptyOutDir: true
}
})