feat: scaffold Vite + React + TypeScript frontend

This commit is contained in:
Ken
2026-05-26 19:03:56 +00:00
parent 5ba367af2f
commit 64b18613e1
20 changed files with 9960 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
server: {
port: 3000,
proxy: {
'/api': {
target: 'http://localhost:8080',
changeOrigin: true,
},
},
},
build: {
outDir: 'dist',
sourcemap: true,
},
})