init: init proj

This commit is contained in:
2026-08-25 11:35:05 +08:00
commit bf7f2df67e
80 changed files with 9936 additions and 0 deletions

16
web/vite.config.ts Normal file
View File

@@ -0,0 +1,16 @@
import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';
export default defineConfig({
plugins: [vue()],
server: {
port: 5173,
// 监听 0.0.0.0:局域网设备可访问开发中的管理界面
host: true,
proxy: {
'/api': 'http://localhost:3000',
// 精确到 /sub/,避免把前端路由 /subscriptions 也代理走
'^/sub/': 'http://localhost:3000',
},
},
});