chore: seminarhof customer project

This commit is contained in:
e2e
2026-07-11 08:11:01 +02:00
commit f0853ebe73
188 changed files with 20784 additions and 0 deletions

41
apps/app/vite.config.ts Normal file
View File

@@ -0,0 +1,41 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import { tanstackStart } from '@tanstack/react-start/plugin/vite'
import { paraglideVitePlugin } from '@inlang/paraglide-js'
import path from 'node:path'
export default defineConfig({
plugins: [
// Compile messages/*.json → src/paraglide so `m`/`mKey` resolve, with HMR on
// message edits. Must run first.
paraglideVitePlugin({ project: './project.inlang', outdir: './src/paraglide' }),
tanstackStart({
router: {
routesDirectory: path.resolve(import.meta.dirname, 'src/pages'),
generatedRouteTree: path.resolve(import.meta.dirname, 'src/routeTree.gen.ts'),
routeFileIgnorePrefix: '-',
quoteStyle: 'single',
},
}),
react(),
],
server: {
port: 5001,
host: '0.0.0.0',
proxy: {
'/api': 'http://localhost:5003',
'/upload': 'http://localhost:5003',
'/assets': 'http://localhost:5003',
},
},
resolve: {
dedupe: ['react', 'react-dom'],
alias: {
'@': path.resolve(import.meta.dirname, 'src'),
'@project/functions-sdk': path.resolve(
import.meta.dirname,
'../../packages/functions-sdk/src',
),
},
},
})