Files

23 lines
432 B
TypeScript
Raw Permalink Normal View History

2026-06-03 15:21:07 +08:00
import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
export default defineConfig({
2026-06-05 16:54:48 +08:00
base: '/cms/',
2026-06-03 15:21:07 +08:00
plugins: [vue()],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
},
server: {
2026-06-05 16:20:01 +08:00
port: 5173,
proxy: {
'/server': {
target: 'http://8.160.178.88/',
changeOrigin: true
}
}
2026-06-03 15:21:07 +08:00
}
})