- Frontend: vue 3.5.43, vite 8.3.4, @vitejs/plugin-vue 6.0.10, pinia 4.0.3 (+ @vue/devtools-api 8.2.1 peer), vue-router 5.4.0; npm audit 6 -> 0 - package.json "type": "module"; vite.config.js resolves @ via import.meta.url - Backend: fastapi 0.143.0, sqlalchemy 2.1.4, PyMySQL 1.2.3, aiomysql 0.3.2, uvicorn 0.54.0, httpx 0.28.1, pydantic 2.14.1, pydantic-settings 2.15.0, PyJWT 2.15.1, cryptography 50.0.2, email-validator 2.3.0 - Settings: class Config -> SettingsConfigDict (Pydantic V2 deprecation) - python 3.12.15-slim base image - Releases now tagged vYYYY.MM (README, Release-Notes/v2026.10.md) Co-Authored-By: Claude Opus 5.5 <[email protected]>
26 lines
508 B
JavaScript
26 lines
508 B
JavaScript
import { defineConfig } from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
import { fileURLToPath, URL } from 'node:url'
|
|
|
|
export default defineConfig({
|
|
plugins: [vue()],
|
|
resolve: {
|
|
alias: {
|
|
'@': fileURLToPath(new URL('./src', import.meta.url)),
|
|
},
|
|
},
|
|
server: {
|
|
proxy: {
|
|
'/api': {
|
|
target: 'http://backend:8000',
|
|
changeOrigin: true,
|
|
},
|
|
'/ws': {
|
|
target: 'ws://backend:8000',
|
|
ws: true,
|
|
changeOrigin: true,
|
|
},
|
|
},
|
|
},
|
|
})
|