init commit

This commit is contained in:
Udo
2026-12-01 10:02:27 +05:00
commit 200083e3ef
36 changed files with 5611 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
import vue from '@vitejs/plugin-vue'
import { defineConfig } from 'vitest/config'
// В dev /api проксируется на бэкенд (Basic-auth браузер спросит сам).
const target = process.env.VITE_API_TARGET ?? 'http://127.0.0.1:8080'
export default defineConfig({
plugins: [vue()],
server: { port: 5173, proxy: { '/api': { target, changeOrigin: false } } },
test: { environment: 'node' },
})