Logo
Explore Help
Register Sign In
cameleer/cameleer-saas
2
0
Fork 0
You've already forked cameleer-saas
Code Issues 24 Pull Requests Actions Packages Projects Releases Wiki Activity
Files
a7dd026225176c4846ad1f9012dfff45effa3900
cameleer-saas/ui/vite.config.ts

20 lines
342 B
TypeScript
Raw Normal View History

feat: scaffold React SPA with Vite, design system, and TypeScript types Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-04 21:47:01 +02:00
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
export default defineConfig({
plugins: [react()],
server: {
port: 5173,
proxy: {
'/api': {
target: 'http://localhost:8080',
changeOrigin: true,
},
},
},
build: {
fix: use standard dist/ output for Vite, copy to static/ explicitly The relative outDir '../src/main/resources/static' resolved unpredictably in Docker. Use standard 'dist/' output, then: - Dockerfile: COPY --from=frontend /ui/dist/ to static/ - CI: cp -r dist/ to src/main/resources/static/ Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 23:44:50 +02:00
outDir: 'dist',
feat: scaffold React SPA with Vite, design system, and TypeScript types Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-04 21:47:01 +02:00
emptyOutDir: true,
},
});
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 22ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API