Adding the lab project

This commit is contained in:
2026-07-01 12:10:12 +02:00
commit 48ce52b52c
56 changed files with 22289 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import { dirname, resolve } from 'node:path'
import { fileURLToPath } from 'node:url'
const __dirname = dirname(fileURLToPath(import.meta.url))
export default defineConfig({
plugins: [react()],
root: __dirname,
base: '/admin/',
resolve: {
dedupe: ['react', 'react-dom']
},
build: {
outDir: resolve(__dirname, '../public/admin'),
emptyOutDir: true
},
server: {
port: 5174,
proxy: {
'/api': 'http://localhost:3100'
}
}
})