Vue 3 + Vite + TypeScript, Pinia und Vue Router, ESLint und Prettier. Die Startseite zeigt den Healthcheck des Backends im dunklen Design. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
16 lines
393 B
TypeScript
16 lines
393 B
TypeScript
import { fileURLToPath, URL } from 'node:url'
|
|
|
|
import vue from '@vitejs/plugin-vue'
|
|
import { defineConfig } from 'vite'
|
|
|
|
export default defineConfig({
|
|
plugins: [vue()],
|
|
resolve: {
|
|
alias: { '@': fileURLToPath(new URL('./src', import.meta.url)) },
|
|
},
|
|
server: {
|
|
// Dev server forwards API calls to a locally running backend
|
|
proxy: { '/api': 'http://localhost:8000' },
|
|
},
|
|
})
|