feat: 初始化配置中心项目

This commit is contained in:
2026-01-14 21:02:13 +08:00
commit 4436d3ee88
95 changed files with 8736 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
import { defineConfig } from 'vite'
import vue2 from '@vitejs/plugin-vue2'
export default defineConfig({
plugins: [vue2()],
server: {
port: 3000,
proxy: {
'/api': {
target: 'http://localhost:8080',
changeOrigin: true
},
'/admin': {
target: 'http://localhost:8080',
changeOrigin: true
},
'/user': {
target: 'http://localhost:8080',
changeOrigin: true
}
}
}
})