This commit is contained in:
2026-06-30 15:02:20 +08:00
commit 3948b5a48a
306 changed files with 77275 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
import vue from '@vitejs/plugin-vue'
import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vite'
export default defineConfig({
plugins: [vue()],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
},
server: {
host: '0.0.0.0',
port: 3013,
proxy: {
'/api': {
target: 'http://127.0.0.1:5679',
changeOrigin: true
},
'/static': {
target: 'http://127.0.0.1:5679',
changeOrigin: true
}
}
}
})