Files
TaskPool/web/vite.config.ts
T

24 lines
487 B
TypeScript
Raw Normal View History

2025-12-20 09:30:16 +08:00
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import tailwindcss from '@tailwindcss/vite'
import { fileURLToPath, URL } from 'node:url'
export default defineConfig({
plugins: [vue(), tailwindcss()],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
},
server: {
proxy: {
'/api': {
target: 'http://localhost:8052',
changeOrigin: true,
ws: true
}
}
2026-01-13 18:18:50 +08:00
},
2026-01-13 20:31:22 +08:00
base: '/'
2025-12-20 09:30:16 +08:00
})