This commit is contained in:
新新 committed 2026-04-27 17:03:56 +08:00
commit fe636432d0
154 files changed
+30381

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';
import path from 'node:path';
export default defineConfig({
plugins: [vue()],
resolve: {
alias: {
'@': path.resolve(__dirname, './src')
}
},
server: {
port: 5174,
proxy: {
'/api': {
target: 'http://127.0.0.1:8000',
changeOrigin: true
},
'/storage': {
target: 'http://127.0.0.1:8000',
changeOrigin: true
}
}
}
});