Release v0.1.0: 小程序使用建议跳转腾讯文档 + 配置导入导出功能

This commit is contained in:
权益小助手开发
2026-05-04 17:09:07 +08:00
commit 7d90523164
89 changed files with 18289 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import path from 'path'
export default defineConfig({
plugins: [react()],
build: {
outDir: 'dist/client',
},
resolve: {
alias: {
'@': path.resolve(__dirname, './src/client'),
},
},
server: {
host: '0.0.0.0',
port: 3456,
proxy: {
'/api': 'http://localhost:3457',
'/uploads': 'http://localhost:3457',
},
},
})