1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00

тестd3

This commit is contained in:
MoonTestUse1
2025-01-05 00:40:14 +06:00
parent 22a8e900ce
commit fb0323ba99
4 changed files with 17 additions and 15 deletions

View File

@@ -0,0 +1 @@

View File

@@ -2,27 +2,24 @@
import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';
import { fileURLToPath, URL } from 'node:url';
import path from 'path';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue()],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
'@': path.resolve(__dirname, './src'),
},
},
optimizeDeps: {
include: ['axios']
},
server: {
host: true,
port: 5173,
watch: {
usePolling: true
},
proxy: {
'/api': {
target: 'http://backend:8000',
changeOrigin: true
}
}
}
});