初始化

This commit is contained in:
2025-09-08 17:31:33 +08:00
parent 4c4475aa7b
commit ee95701e74
28 changed files with 3820 additions and 1 deletions

18
vite.config.js Normal file
View File

@@ -0,0 +1,18 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue()],
server: {
host: '0.0.0.0',
proxy: {
// Proxy API requests to the backend server
'/api': {
target: 'http://localhost:8080',
changeOrigin: true, // Needed for virtual hosted sites
secure: false, // Optional: if you are using https
},
},
},
})