潘的第一次 commit

This commit is contained in:
panchengyong
2026-02-27 23:50:25 +08:00
commit 10b6d0099a
117 changed files with 32547 additions and 0 deletions

View File

@@ -0,0 +1,55 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import path from 'path'
export default defineConfig({
plugins: [vue()],
resolve: {
alias: {
'@': path.resolve(__dirname, './src')
}
},
server: {
port: 5177,
strictPort: false, // 端口被占用时自动尝试下一个可用端口
proxy: {
'/api': {
target: 'http://localhost:8080',
changeOrigin: true
},
'/erp': {
target: 'http://localhost:8080',
changeOrigin: true
},
'/mes': {
target: 'http://localhost:8080',
changeOrigin: true
},
'/system': {
target: 'http://localhost:8080',
changeOrigin: true
},
// 登录相关接口代理
'/login': {
target: 'http://localhost:8080',
changeOrigin: true
},
'/logout': {
target: 'http://localhost:8080',
changeOrigin: true
},
'/captchaImage': {
target: 'http://localhost:8080',
changeOrigin: true
},
'/getInfo': {
target: 'http://localhost:8080',
changeOrigin: true
},
'/register': {
target: 'http://localhost:8080',
changeOrigin: true
}
}
}
})