优化项目,进行响应式处理

This commit is contained in:
2025-10-10 18:04:59 +08:00
parent 13615e17e4
commit 9d516642b0
12 changed files with 1656 additions and 735 deletions

View File

@@ -13,14 +13,14 @@ export default defineConfig({
},
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
// rewrite: (path) => path.replace(/^\/api/, ''),
// },
// },
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
// rewrite: (path) => path.replace(/^\/api/, ''),
// },
},
},
})