mirror of
https://github.com/complexcaresolutions/dak.c2s.git
synced 2026-03-17 20:43:41 +00:00
Scaffold the DAK Zweitmeinungs-Portal frontend with: - Vite 7.3 + React 19 + TypeScript 5.9 - Tailwind CSS v4 with @tailwindcss/vite plugin - shadcn/ui (new-york style, neutral base color) with button, input, label, card components - Path alias @/* -> src/* configured in tsconfig and vite - API proxy: /api/* -> http://localhost:8000 - Core deps: react-router-dom, axios, recharts Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
19 lines
403 B
TypeScript
19 lines
403 B
TypeScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
import tailwindcss from '@tailwindcss/vite'
|
|
import path from 'path'
|
|
|
|
// https://vite.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react(), tailwindcss()],
|
|
resolve: {
|
|
alias: {
|
|
'@': path.resolve(__dirname, './src'),
|
|
},
|
|
},
|
|
server: {
|
|
proxy: {
|
|
'/api': 'http://localhost:8000',
|
|
},
|
|
},
|
|
})
|