Initial monorepo structure

This commit is contained in:
Арсентьев Александр
2026-08-06 11:23:37 +03:00
commit 07dbde2a0e
240 changed files with 212717 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
server: {
port: 5174,
proxy: {
'/api': {
target: 'http://localhost:8000',
changeOrigin: true,
},
'/platform-api': {
target: 'http://localhost:8001',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/platform-api/, '/api'),
}
}
}
})