feat: 新增微盟数据导出和门店出勤积分更新插件

This commit is contained in:
2026-10-20 18:29:04 +08:00
parent af4055e08b
commit a4709aa79b
54 changed files with 9591 additions and 2 deletions
@@ -0,0 +1,21 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
// 插件 UI 由壳子后端托管在 /pui/xq0047/ 下,
// 构建产物直接输出到插件包 ui/ 目录(随插件 zip 发布,壳子零改动)。
// dev 模式经代理访问本机壳子后端,便于联调。
export default defineConfig({
plugins: [vue()],
base: '/pui/xq0047/',
build: {
outDir: '../ui',
emptyOutDir: true,
},
server: {
port: 5181,
proxy: {
'/api': 'http://127.0.0.1:8799',
'/ws': { target: 'ws://127.0.0.1:8799', ws: true },
},
},
})