Files

16 lines
299 B
TypeScript
Raw Permalink Normal View History

2026-01-09 23:18:52 +08:00
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
// https://vite.dev/config/
export default defineConfig({
base: './',
2026-01-09 23:18:52 +08:00
plugins: [vue()],
server: {
proxy: {
'/api': {
target: 'http://localhost:3000',
changeOrigin: true,
},
},
},
})