generated from gc/template-java-maven
- Spring Boot 3.2.1 백엔드 (com.gcsc.connection, 포트 8042, context /snp-connection) - React 19 + TypeScript + Vite 7 + Tailwind CSS 4 프론트엔드 - frontend-maven-plugin 통합 빌드 설정 - 팀 워크플로우 v1.6.1 동기화 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
22 lines
469 B
TypeScript
22 lines
469 B
TypeScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
import tailwindcss from '@tailwindcss/vite';
|
|
|
|
export default defineConfig({
|
|
plugins: [react(), tailwindcss()],
|
|
server: {
|
|
port: 5173,
|
|
proxy: {
|
|
'/snp-connection/api': {
|
|
target: 'http://localhost:8042',
|
|
changeOrigin: true,
|
|
},
|
|
},
|
|
},
|
|
base: '/snp-connection/',
|
|
build: {
|
|
outDir: '../src/main/resources/static',
|
|
emptyOutDir: true,
|
|
},
|
|
});
|