mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-11-06 21:46:19 +00:00
22 lines
385 B
JavaScript
22 lines
385 B
JavaScript
|
|
import { fileURLToPath, URL } from 'node:url'
|
||
|
|
|
||
|
|
import { defineConfig } from 'vite'
|
||
|
|
import vue from '@vitejs/plugin-vue'
|
||
|
|
|
||
|
|
// https://vitejs.dev/config/
|
||
|
|
export default defineConfig({
|
||
|
|
plugins: [
|
||
|
|
vue(),
|
||
|
|
],
|
||
|
|
resolve: {
|
||
|
|
alias: {
|
||
|
|
'@': fileURLToPath(new URL('./src', import.meta.url))
|
||
|
|
}
|
||
|
|
},
|
||
|
|
server:{
|
||
|
|
proxy: {
|
||
|
|
'/': 'http://178.128.231.4:10086/'
|
||
|
|
}
|
||
|
|
}
|
||
|
|
})
|