WGDashboard/src/static/app/vite.config.js

22 lines
385 B
JavaScript
Raw Normal View History

2024-01-08 12:23:57 -05:00
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/'
}
}
})