Files
frontend/vite.config.js
NanamiAdmin d87b3268fb chore(ui): redesign interface with SF Pro fonts and modern styling
- Update theme variables and styles for light/dark modes
- Implement SF Pro font family across all components
- Redesign cards, buttons, forms, and scrollbars
- Add backdrop filters and improve visual hierarchy
- Optimize spacing, typography, and interactive elements
2026-04-13 18:41:09 +08:00

23 lines
513 B
JavaScript

import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
const APP_TARGET = '10.0.64.19:8080'
export default defineConfig({
define: {
__APP_TARGET__: JSON.stringify(APP_TARGET)
},
plugins: [vue()],
server: {
host: '0.0.0.0',
port: 3000,
proxy: {
'/api': {
target: `http://${APP_TARGET}`,
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, '')
}
}
}
})