feat(frontend): initialize Vue 3 + Vite project structure

This commit is contained in:
2025-06-17 07:54:41 +03:00
parent d7d61f9de3
commit df460f57ab
18 changed files with 2175 additions and 0 deletions

17
vite.config.ts Normal file
View File

@@ -0,0 +1,17 @@
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue()],
server: {
// <-- ДОБАВЬТЕ ЭТОТ БЛОК
proxy: {
// Проксируем все запросы, начинающиеся с /api, /authserver, /sessionserver
"^/api|/authserver|/sessionserver": {
target: "http://localhost:8080", // Адрес вашего локального бэкенда
changeOrigin: true,
},
},
},
});