feat(sync): 添加 Vue TypeScript 管理控制台

This commit is contained in:
2026-09-09 20:59:43 +08:00
parent 28f7d9f4e6
commit 88799ddee1
21 changed files with 1760 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
export default defineConfig({
base: '/console/',
plugins: [vue()],
build: {
outDir: '../sync_server/static',
emptyOutDir: true,
sourcemap: false,
assetsInlineLimit: 0,
},
server: {
port: 5174,
strictPort: true,
proxy: {
'/health': 'http://127.0.0.1:18081',
'/ready': 'http://127.0.0.1:18081',
'/sync': 'http://127.0.0.1:18081',
},
},
})